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
Explain about tristate constants?
Why is it recommended to close the database connection every time after the work is completed?
In html file what is an ideal position to include vbscript?
Explain the adodb.stream class?
Mention what is the use of option explicit in vbscript?
Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder
What are the advantages of vbscript?
What if you do not specify anything when you call a procedure?
Which command is used for writing text on a page?
What is the scope of a constant declared using public?
write a function to read the items from combobox of Flight reservation & save in excel (QTP)??
Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji
how to write validation function for date in vb script
hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?
Illustrate briefly about the different types of statement