Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

Explain about tristate constants?

1018


Why is it recommended to close the database connection every time after the work is completed?

928


In html file what is an ideal position to include vbscript?

1404


Explain the adodb.stream class?

1003


Mention what is the use of option explicit in vbscript?

971


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

2128


What are the advantages of vbscript?

1080


What if you do not specify anything when you call a procedure?

1124


Which command is used for writing text on a page?

999


What is the scope of a constant declared using public?

976


write a function to read the items from combobox of Flight reservation & save in excel (QTP)??

2847


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

1710


how to write validation function for date in vb script

2609


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?

1988


Illustrate briefly about the different types of statement

2494