write a vb script to generate the following pattern
*****
****
***
**
*
Answer Posted / mudaseer
for i=5 to 1 step -1
for j=i to 1 step -1
vstr=vstr & "*" & " "
next
vstr=vstr & vbnewline
next
msgbox vstr
| Is This Answer Correct ? | 30 Yes | 6 No |
Post New Answer View All Answers
Explain vbscript in detail?
How will you reverse a string in vbscript?
hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?
How will you format a number in percetage format in vbscript?
Mention how you can call vbscript functions?
Explain few date functions in vbscript?
Explain about the asc function?
why variable name should not exceed 255 characters?
what is used of Property........End Property loop ? how to write the script for it?
Which operator can be used to check if two numbers are equal or not in vbscript?
did any one attended interview in applabs if you had gone through plz tell me the procedure
Does VB/Win make standalone .EXE files?
Mention what is the use of option explicit in vbscript?
How to add actions in driver script to run those actions in QTP?
what types of bugs will we find out in banking projects for automation testing?