write a vb script to generate the following pattern
*****
****
***
**
*
Answer Posted / mudaseer
for i=5 to 1 step -1
for j=i to 1 step -1
vstr=vstr & "*" & " "
next
vstr=vstr & vbnewline
next
msgbox vstr
| Is This Answer Correct ? | 30 Yes | 6 No |
Post New Answer View All Answers
Explain vbscript in detail?
Explain about adodb.stream class?
does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks
How can the spaces from the string be removed?
Hai this is sheik, i want to learn VB scripts for web application pls guide me what are all basic things need to know to learn VB scripts in web application.
I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?
How to assign a date value to a variable?
Explain about constants in vb script?
Which function is used in the vbscript language to convert the specified expression into a date type value?
write a program to display configuration of a local system with the help of vb script.
What are lbound and ubound in the vbscript language?
How to declare an array in vbscript?
while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans
What is the difference between VBScript and JavaScript?
regular expression that will recognize a browser as long as its name property starts with mybrowser