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
Where is the resultset of a sqlquery (which is fired by rsobj.open sqlquery,xxxx,xxxx) stored ?
How will you test a keyboard?
what is keyword driven testing in qtp?n how is it useful?
how to test Web application using QTP software
When ‘option explicit’ keyword is used in qtp?
Hi can anybody send me the QTP material, To my email ID: nuve1284@gmail.com ?
what is vmodel?advantages and disadvantages of vmodel?
How to handle the exceptions using the recovery scenario manager in qtp?
What are output values and why they are used ?
What is the difference between Keyword Driven test and Data Driven test?
Explain about business process component? types and usage?
What is the difference between keyword view and expert view?
What test cases can you automate using QTP?
What are the different types of recording modes?
Hi Friendss..., can any body help me.. 1. Tell me your achievements(Technically)..? 2. Tell me your strengths(Technically) and weakness(Technical)..? 3. Why are you looking for change..?