*
**
***
Please write a code to get output like above diagram? ple explain as it how the code works?
Answer Posted / pratap
for i=1 to 3 step 1
for j=1 to i step 1
vstr=vstr&"*"
next
vstr=vstr&vbnewline
next
msgbox vstr
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What if you do not specify anything when you call a procedure?
If a calulator having 3 buttons (of any number)in 3 of them one is not working properly due to which answer is wrong always. write a script to find out which button is not working properly ?
How will you get a random number between 0 and 1 in vbscript?
I am working on QTP, got struck in one place.. In my application depending upon configuration WebEdit count is increasing/ decreasing.. how to get these webedits..
Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?
In html file what is an ideal position to include vbscript?
Which operator is used to concatenate the 2 values in the vbscript language?
If else for do while select in vb script?
write a program to display configuration of a local system with the help of vb script.
how to write a vb script in QTP for yahoo registration form, i want to check the performance also like performance test, stress, load test like that.
What are the special sub-types in vbscript?
if u ve resrevation for train and u get a number supose 1234xxxokie.after sucessul entering all required fields. now u put that number in search and want to chk wether these ar same or not if both ar same then its okie otherwise test fail.what would be the vb script code for it to compare these two values of different page.
What is the output of a + b in vbscript if a = 5 and b = 10?
What are the valid scopes of a variable in vbscript?
How strcomp function works?