Write a script to print below pattern 5 4 3 2 1 5 4 3 2 5 4 3
5 4 5
Answer Posted / vishnu
'5 4 3 2 1
'5 4 3 2
'5 4 3
'5 4
'5
For i=5 to 1 step -1
temp = temp & i
Next
For i=5 to 1 step -1
print temp
temp = left(temp,i-1)
Next
| Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
Hi, I am working on microsoft infopath forms..It is standalone form..(not dotnet or web.) . I am not able to indentify any objects in it.. I am currently using active accessibility in the macro for the same but its execution is too slow.. Kindly help in case you have better solution.
Can we run test with out adding object in object repository? How it is possible?
Dear All, How to generate Pass or Fail Report in QTP without using Reporter.Report Event Method ? Thanks Balaji
Hi there, I've installed a trial version of QTP to see if it works with my product but I cant automate selecting windows from a tree view? Can anyone give me any pointers? Many Thanks
Explain different types of action in qtp?
how will you check how many members visited the website www.infosys.com?
What is the Difference between test object and run time object?
If we put all properties in mandatory and assistive list of Normal Identification, Do we still need Smart?
Why script error occur in between recording in qtp?
How to associate shared object repository to test in qtp?
am not having intrest in coding lang like c c++ java etc can i choose Testing tools as my carrier and please suggest me which tool is good (suitable for me)
In the Hybrid framework, data can access the database, excel file, XML etc. Is it true?
Can any one tell me about "Mapping Repository Parameter Values" and why we use it....??How to use it???Please, tell the preconditions also...........???? Thanks in Advance
Explain the difference between data driven testing and parameterization ?
What is the quicktest professional testing process?