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

For i=5 to 1 step -1
var=string(i,"*")
print var
Next

Is This Answer Correct ?    14 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of the date function in the vbscript language?

953


Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)

3613


Explain sga memory structures?

968


write any ttest cases using check points and parameterization

2221


Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?

950


How to open excel in vb script?

970


Write a Script for ATM in QTP

3803


What is the difference between vbscript and vba?

1061


How can the spaces from the string be removed?

958


Explain different types of segment?

969


How many types of operators are available in the vbscript language?

920


Explain the support of asp for vb script functionality?

1015


HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.

2467


Explain the scope of the variables using dim, public, and private keywords respectively.

1102


What is the event handling in vbscript?

934