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 / machiraju veera venkata naga s

p=""
For i = 1 To 5 Step 1
t=""
For j = 5 To i Step -1
t=t&" "&j
Next
p=p&""&t
Next
print p

(Test this code right now... Its mine.)

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can any one tell me how to write a script for selecting open option in File menu of A word document.here you have to add objects to OR.try like that and give me the ans.i asked this question to so many but no one knows.if any one know the answer plz let me know

1868


How do client side image and server side image work?

1822


While spliting an action in QTP 10.0 getting an error : "This Line is a part of Script Block.You cannot split the action on this line." how to re-solve this and split the script into actions?

1896


What is difference between design time and run time data table?

1126


How many add-ins comes by default with qtp?

1002


Is virtual object supported in low level recording mode?

1143


What is the difference between a Function and Action in QTP?

1079


Which features or drawbacks of QTP lead to the upgrade for a newer version?

1012


Client is able to provide budget..he want you to choose the automation tool for the web application? which one you will select ? QTP or Selenium ? what are the reasons?

1714


action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans

2025


What is the syntax to call one action in another?

1023


What are the main differences of qtp and win runner?

1123


Explain step generator in qtp?

1087


How to save your test using quicktest professional?

1027


How many lines of code in each script of QTP?

4462