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 / miko

Dim x,i,j

For i=1 To 5
For j=1 To i
x=x&j
Next
x=x&vbNewLine
next
MsgBox x

***********output*********

1
12
123
1234
12345

Is This Answer Correct ?    7 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Description.Create

2652


filter the array values without using filter function?

2118


What is sql loader? Explain the files used by sql loader to load file?

1173


What is the use of option explicit statement?

992


Why to use option explicit in vb script?

1066


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

2864


Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.

2355


What's the difference between vbscript and vb.net?

1116


How will you get a string with the specified character the specified number of times in vbscript?

1029


How to capture a runtime error in vbscript?

1174


What is the difference between vb debugger and the script debugger?

1149


Why is the use of exit do or exit for statements within loops discouraged?

1048


How should i Create Email invite with server-side Coding?

2142


how to automatically update the sql server2005 database records when insert in vb6?

1962


what is the use of QCUtil? explain with one example?

7069