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

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 ?    0 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When QTP object wait time is 10 seconds, and in test script wait time is 5 seconds and in function library wait time is 2 seconds how much time does the wait occur? or which is given priority.

1751


write a script to verify the image path(src property) of the images which are in web pages.

1880


Explain the new feature of UFT regarding the export of test results?

672


How to add synchronisation points in qtp?

661


How to use parameterization in qtp?

716






For which type of project the iterative model is suitable?

1453


how to create flat file datasubmission in qtp

1997


How can i check items sorted or not in a weblist ? Give me the script for this...

1663


Explain in brief about the quicktest professional automation object model?

623


I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?

723


What are the types of data tables in qtp?

663


Tell some commonly used Excel VBA functions?

705


we add library file used in test via settings or through "ExecuteFile" command. when we implement framework do we make common library file and load the same for all the test cases execution?

1748


I created 3 actions in test suppose I want to run action 1 in single time, action 2 is 4 time what I do?

679


What is the difference between run time object and test object in QTP?

662