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 / phu

for i=4 to 0 step-1
{
for j=0 to i step+1
print (5-j)
}

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Hi this is chandra if any one have Navigation of LAB QTP, I want Navigation of those tools, if any one have the and know the Navigation each and every part of the QTP, plz send me my mail naruboinac@yahoo. com,naruboinas@ gmail.com

2010


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


if anyone has idea of the interview procedure in covansys, plz send me a mail?

2074


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


what type of framework u r using in ur organization

2161


write script for bitmap image?

2126


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

2107


Can you brief the hurdles you faced during Automation testing?

1149


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

1430


How are actions and functions different in QTP?

1165


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

2185


how to use the regular expression for the below code-- swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:56" There is a tree view window of the folder's ie Medication- >Pharmacy(sub folder)with 56 as count of records...The records can be different or if no records present in the specific folder..then it show "Paharmacy:-no records".Whe i record at the first time .....and try to rerun the same script with different records count say "pharmacy:800"..qtp is not regnizing it...therefore i want to user regular expression..but donot now how to use it and where to use...i have tried.... swf("application name").swftreeview ("Treename").select"Medication;Pharmacy:\*"..but it s of no use..plz help..me

3018


Tell some commonly used Excel VBA functions?

1148


How software tester can use constants and variables in scripts?

2361


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