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
how could i download qtp in which i get add-in support for 'oracle' is there any way to get it? i finding but not getting pls help me out :)
How can i initiate the objects to find uniquely in OR
How to associate function library at a run time?
How reliable are the site's Internet connections required to be? And how does that affect backup system or redundant connection requirements and testing?
Does QTP have any limitations?Can it work with all kinds of programming languages like java,springs,ajax ,hybernet?Also does it work well with windows 7.What are its other limitations
What is keyword view in qtp?
How you can delete excel file in qtp?
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
Explain the types of properties that quick test learns while recording?
How to use setroproperty?
What is the difference between a Function and Action in QTP?
hi all can anyone explain how to write the code for finding the mandatory columns in table which are having (red*) (red Astrik)
What is the difference between analog and low level recording?
What is the qtp testing process?
Dear sir, i want to perform a QTP automated testing for mechancial engineering software like msc adams, msc nastran this softwares will help for mechanical engineering design analysis>> i know oad runner win runner, test director, QTp>> but i dont know how to use for automation