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 script to print below pattern 5 4 3 2 1 5 4 3 2 5 4 3
5 4 5

Answer Posted / vishnu

'5 4 3 2 1
'5 4 3 2
'5 4 3
'5 4
'5
For i=5 to 1 step -1
temp = temp & i
Next
For i=5 to 1 step -1
print temp
temp = left(temp,i-1)
Next

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.

2176


Can launch two instances of qtp on the same machine?

1172


how did u use automating testing tools in ur job?

2034


Explain runtime dynamic settings?

2503


How many types of recording facility are available in quicktest professional?

1159


Explain the benefits of quick test pro(qtp)?

1054


Can we create user defined functions in qtp?

1062


Tell some commonly used Excel VBA functions?

1106


Please help me by providing the License key for QTP 9.2, at guru_aarya@yahoo.co.in Best Regards Gururaj.B

3412


Explain the difference between data driven testing and parameterization ?

1088


Explain advantages and disadvantages of ddf?

1126


How to do the scripting. Is there any inbuilt functions in qtp as in qtp-s.

1044


What is an expert view and keyword view?

1174


how to evalute defects in QTP script?

2059


What is Curd testing?

2359