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

write a text script to display * as below ********** **** **** *** *** ** ** * * * * ** ** *** *** **** **** **********

1 Answers  


what is extension of the file if its saved from recovery manger to some drive

1 Answers  


What are class variables?

0 Answers  


Explain How do you create a recordset object in vbscript?

0 Answers  


Explain the filter expression?

0 Answers  


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

0 Answers   Altair,


By default in vbscript the arguments passed to functions and subroutines are by reference or by value?

0 Answers  


Mention what is the difference between vbscript and vba?

0 Answers  


while using Keyward driven framework in QTPif new requirements are added how to manage it...plz ans

0 Answers   IBM,


When inserting strings into a SQL table in ASP what is the risk and how can you prevent it?

1 Answers  


How to replace junk code recorded by QTP with a mall function.

0 Answers  


Explain the functionality of vbscript?

0 Answers  


Categories