write a vb script to generate the following pattern
*****
****
***
**
*
Answer Posted / sanju
ioutput=""
inum=inputbox("enter number")
For indx1 = inum To 1 step-1
For indx2 = 1 To indx1
ioutput=ioutput&"*"
Next
print ioutput
ioutput=""
Next
Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
What is vbscript procedures?
Is vbscript language a case-sensitive language and what does it mean?
Mention how to assign a date value to a variable?
Explain about the asc function?
where can i learn VB scripint ?
hi i am trying for testing job for 3+ experience(fake) can u suggest me what type of projects i can keep in my resume and how much of knoeledge i should have abt that project.thnks in advance.urgt plz
Mention what are the rules to name variable in vbscript?
What are lbound and ubound in the vbscript language?
1) How can we use VB script in testing the application? 2) What all are the things(Software application to be installed in PC) we need to learn VBscript?
How will you get a random number between 0 and 1 in vbscript?
Why to use option explicit in vb script?
what is the object hyrarchy in QTP for a web based application
If else for do while select in vb script?
hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?
Can we create Crystal Report object in QTP?If yes then what it is and what are its various properties?