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

Without using gui map editor we can recognize the application in winrunner ?

594


could any help me please, how to work on visual foxpro application using UFT

1665


What is object spy in quicktest professional (qtp)?

527


in qtp 3 sheets is there in data table like global, action1, action2. I want to check the rows and columns in action2. how can check using script?

6309


In qtp, how you can remove the spaces from string?

538






What are the technologies supported by qtp?

552


What are the different ways to invoke an application using QTP?

636


How many lines of code in each script of QTP?

4026


Have you used xml check point in your project? How?

537


Hi , I am facing issue QTP 10.0 with oracle ERP 11i .When QTP opens,click sub links on ERP ,FORM is not opening getting unexpected Internet explorer error message with send or don't send report.So unable to work with forms using QTP.

3409


What is reusable action?

589


how do u manipulating INI, DLL and / or registry files in support of your test environment? actually what do u mean by INI and DLL or registry files. plzzz its urgent do answer

1434


Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.

2881


Explain measuring transaction.

577


What are the Disadvantages of shared object repository?

559