write a vb script to generate the following pattern
*****
****
***
**
*
Answer Posted / eswar
x = "*"
For i=5 to 1 step -1
For j=1 to i
y = y&x
Next
y=y&" "
Next
MsgBox y
Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
What is the scope of a constant declared using public?
What is difference between vbscript and vba?
What are the advantages of vbscript?
How to access array data?
Explain vbscript in detail?
Mention how to create a cookie using vbscript?
When to use function procedures and what are its characteristics?
What are keywords in the vbscript language?
Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji
Does VB/Win make standalone .EXE files?
Which in-built function is used to format the number in the vbscript language?
How to scroll down a page while recording in qtp. suggest me any method apart from low level recording.
What is byref and byval parameters in vbscript?
How you can call vbscript functions?
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?