*
**
***
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
Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?
How to open a file. What is the perpose of true and false mode there?
Which date function is used in the vbscript language to find the difference between the 2 dates?
what is event handling?
what is the standards used for writing the script in QTP
What are the rules to name variable in vbscript?
When are redim statement and preserve keyword used in the vbscript language?
Explain the filter expression?
Both Static and dynamic arrays are handled by VB script. Is it true?
How are values assigned to string type and numeric type variables?
What are the properties of regexp object?
When does ‘on click of button’ event gets triggered in the vbscript language?
Explain about the extension .hta?
Explain the extension .hta?
What is the difference between a dictionary and an array?