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
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
How do client side image and server side image work?
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?
What is difference between design time and run time data table?
How many add-ins comes by default with qtp?
Is virtual object supported in low level recording mode?
What is the difference between a Function and Action in QTP?
Which features or drawbacks of QTP lead to the upgrade for a newer version?
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?
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
What is the syntax to call one action in another?
What are the main differences of qtp and win runner?
Explain step generator in qtp?
How to save your test using quicktest professional?
How many lines of code in each script of QTP?