write a vb script to generate the following pattern
*****
****
***
**
*
Answer Posted / miko
Dim x,i,j
For i=1 To 5
For j=1 To i
x=x&j
Next
x=x&vbNewLine
next
MsgBox x
***********output*********
1
12
123
1234
12345
| Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
What are the special sub-types in vbscript?
How are values assigned to string type and numeric type variables?
What is the scope of a constant declared using public?
How to write a VBscript for web page performance test i need a code send if any knows the code If any knows VBScript book plz send to me the link to my mail plz
How can the spaces from the string be removed?
How you can call vbscript functions?
How do i automate a website www.flyashx.com without having any test cases witin a week time.
How to delete a cookie using vbscript?
What is the extension of the vbscript file?
wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......
Explain the arrays in vb script?
What are keywords in the vbscript language?
Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)
What is the use of the instr function?
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?