write a text script to display * as below
**********
**** ****
*** ***
** **
* *
* *
** **
*** ***
**** ****
**********
Answer / chandra
for i = 1 to 5
for j = 1 to i
k = k & "*"
next
k = k&vbcrlf
Next
Msgbox k
| Is This Answer Correct ? | 0 Yes | 3 No |
How can we return a value from User Defined Function ? For Eg. we have 2 functions. In Fun1 i am getting 2 values (a,b) and i am addding those 2 and storing in to another var (c). Now i want to pass that var(c) to another function (fun2). What will be the script?
Mention characteristics of sub procedures?
Explain the .wsf files?
How to return a value from function...? you should not tell msgbox, print.. etc.,
write a vb script create 5 folders test1 test2 test3 test4 test5
What is the purpose of on error resume next statement?
What are the special sub-types in vbscript?
Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)
Explain vbscript in detail?
Check whether given Number is Even or Odd?
How to remove the spaces in a string Ex: "Welcome to QTPWorld" ?
how to set one column as primary key in QTP and fetch values accordingly