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

For i=5 To 1 Step-1
For j=1 To i
v=v&"*"
Next
n=n&vbCrLf&v
v=""
next
MsgBox n

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I have attended Anovatek Software QTP interview. They will give us computer and one web based application with QTP. We have to automate some records (already updated records or new records) using QTP Data driven testing. But we should use for loop? Can any one know how to do data driven testing using For loop?

1985


What is select case statement?

1043


How are arrays declared in the vbscript language?

986


How will you convert a string to lower case string using vbscript?

1012


How are values assigned to string type and numeric type variables?

992


Which data type/types are supported by vbscript language and what are their specialties?

1032


What is difference between vbscript and vba?

1206


Hi Friends Rajendra this is bhavani prasad, iam working Hyderabad. i faced one problem with qtp recording mode i.e in my application there is 100 records first we click the first record that record will be jumped to next session and 99 records will there stop the recording and run the same script .Run this script qtp does not identify the records. So plz tell me what is the solution.

2090


Explain about vb script?

1215


How will you reverse a string in vbscript?

1140


What are keywords in the vbscript language?

1027


What is dictionary object in vbscript? Explain?

1169


wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......

1882


write any ttest cases using check points and parameterization

2268


What is byref and byval parameters in vbscript?

1066