write a vb script to generate the following pattern
*****
****
***
**
*
Answer Posted / sumathi
For i=5 to 1 step -1
var=string(i,"*")
print var
Next
| Is This Answer Correct ? | 14 Yes | 11 No |
Post New Answer View All Answers
What is the use of the date function in the vbscript language?
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 sga memory structures?
write any ttest cases using check points and parameterization
Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?
How to open excel in vb script?
Write a Script for ATM in QTP
What is the difference between vbscript and vba?
How can the spaces from the string be removed?
Explain different types of segment?
How many types of operators are available in the vbscript language?
Explain the support of asp for vb script functionality?
HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.
Explain the scope of the variables using dim, public, and private keywords respectively.
What is the event handling in vbscript?