Write a script to print below pattern
5 4 3 2 1
5 4 3 2
5 4 3
5 4
5
Answers were Sorted based on User's Feedback
Answer / lakshmi
for i=1 to 5
for j=5 to i step -1
temp=temp & " "& j
Next
temp=temp&vbcrlf
Next
Msgbox temp
Is This Answer Correct ? | 3 Yes | 0 No |
Answer / 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 |
how can you write a script without using GUI in QTP?
How to execute a VBS file without using Execute File statement?
What are the properties you would use for identifying a browser and page when using descriptive programming?
What is the exact difference bet function and action in QTP Anybody can explain it in detail..Thanks in advance..
Explain how you can find the absolute value of the number in qtp?
How to create configuration scripts
what is the data driven testing?
Hello everyone! I am just writing a small test for a windows application. I have a problem with a text output value. The value i am trying to catch is presented in a scrollable textbox. When the text is too long, only a portion of it gets captured. Do you have any experience with this?
HOW AND WHY TO CREATE EMPTY OBJECT IN QTP?
How can we display the names of the buttons in the toolbar of a webpage
How exactly you start scripting in QTP? In the interview he was not satisfied with my answer.Please post what is correct answer.
How many scripts do you write per day. What is the average number of scripts you have written in your recent project
1 Answers CenturyLink, Optum, Value Labs,