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
Mention when to use function procedures and what are its characteristics?
By default in vbscript the arguments passed to functions and subroutines are by reference or by value?
What is the use of the date function in the vbscript language?
why do u choose to go for testing why cant for devoloping
where can i learn VB scripint ?
what is diff between static and dynaic arrys?
When to use function procedures and what are its characteristics?
how to set one column as primary key in QTP and fetch values accordingly
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)
How do i automate a website www.flyashx.com without having any test cases witin a week time.
Is vbscript a case-sensitive or case-insensitive?
Explain the tristate constants in vbscript?
How will you get a string with the specified character the specified number of times in vbscript?
What are the naming conventions while declaring a variable in the vbscript language?
why variable name should not exceed 255 characters?