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 what is loose binding? Why is it not a good practice to use it?
How will you get the smallest subscript of an array in vbscript?
How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
Is VB Script Case sensitive or Case insensitive?
Which event is triggered when mouse focus comes out of an element in the vbscript language?
How can you fetch the value of a cookie?
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.
How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'
I need to get some data from data base and store this
(retrieved) data in a excel sheet using VB script in QTP9.0
I have created connection for data base
I have created as excels sheet by using
Set XL=CreateObject("Excel.Application")
XLworksheet.cells(1,1).value= rs.fields.item("<
Explain different types of segment?
Explain about tristate constants?
Difference between dim,public and private variables in vb script?
does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks
What are the data types supported by vbscript?