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...


Can anyone help me in write coding to get this pattern
*
**
***
****

Answers were Sorted based on User's Feedback



Can anyone help me in write coding to get this pattern * ** *** **** ..

Answer / rajani_kanth

Option Explicit
Dim i,j,k
for i=1 to 5

for j=1 to i

k=k&"*"&" "
Next
k=k&" "&vbnewline
next
msgbox k

Is This Answer Correct ?    1 Yes 0 No

Can anyone help me in write coding to get this pattern * ** *** **** ..

Answer / anil

For i=0 To 4
For j=0 To i
vstr=vstr&"*"&""
Next
vstr=vstr &" "
Next
msgbox vstr

Is This Answer Correct ?    3 Yes 3 No

Can anyone help me in write coding to get this pattern * ** *** **** ..

Answer / chandu

a=4
for i=1 to a step 1
b= string(i,"*")
c=c&" "&b
next
msgbox c

Is This Answer Correct ?    1 Yes 1 No

Post New Answer

More VB Script Interview Questions

Mention what is byref and byval parameters in vbscript?

0 Answers  


How to open browser in vb script?

0 Answers  


what is the object hyrarchy in QTP for a web based application

0 Answers  


how to retrive the tooltip by using descriptive programming in qtp?

3 Answers   iGate,


Explain the operator precedence in vb script?

0 Answers  


where can i learn VB scripint ?

0 Answers   Satyam,


how to answer "TELL ME ABOUT UR SELF" as exp.person. whr to start and whr to stop. can anyone tel me

0 Answers  


what is used of Property........End Property loop ? how to write the script for it?

0 Answers  


does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks

0 Answers  


What is the purpose of on error resume next statement?

0 Answers  


How to assign a date value to a variable?

0 Answers  


Write a vbscript procedure that converts feet to inches. Hint: there are 12 inches in a foot?

0 Answers  


Categories