adspace


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

Hi All, How to get repeated word in string . Thanks Balaji

1430


any body plz send health care domain project to me with explanation any two modules on that project. mail_id: ranjith_99reddy@yahoo.co.in

3958


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.

3432


Define Environment Variable in UFT and its uses?

1165


How are actions and functions different in QTP?

1165


What is the use of defining a newobject in the object repository "Define New TestOject". How to use this further. If we define new testobject, how can it recognizes the objects properties of any application.

2230


write script for bitmap image?

2126


Hi, how can we check or avoid the memory leakage in QTP9.2?

2183


Pls can anybody send me the Recent Technical and Interview Questions Which were asked in IBM(QTP)Automation PLZZZZZZZZZ

2126


Tell some commonly used Excel VBA functions?

1148


can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process

1878


can anyone tell me from where i can download qtp demo or crack version

2090


1.Write a CRITICAL test cases for calculator ? 2.What is the difference b/w FRS and SRS documents ? 3.What is Component ? 4.What is object ? 5.what is the difference b/w static and dynamic descriptive programming ?

2193


what is actually contain test report? can anybody post the test report

2107


i need qtp tutorial. pls send it to sridhar.k151@g mail.com

2185