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

for i=5 to 1 step -1
for j=i to 1 step -1
vstr=vstr & "*" & " "
next


vstr=vstr & vbnewline
next
msgbox vstr

Is This Answer Correct ?    30 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain vbscript in detail?

1057


How will you reverse a string in vbscript?

1159


hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?

2185


How will you format a number in percetage format in vbscript?

997


Mention how you can call vbscript functions?

1134


Explain few date functions in vbscript?

1061


Explain about the asc function?

1066


why variable name should not exceed 255 characters?

2231


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

2259


Which operator can be used to check if two numbers are equal or not in vbscript?

1162


did any one attended interview in applabs if you had gone through plz tell me the procedure

2275


Does VB/Win make standalone .EXE files?

3402


Mention what is the use of option explicit in vbscript?

1003


How to add actions in driver script to run those actions in QTP?

1948


what types of bugs will we find out in banking projects for automation testing?

2233