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
Description.Create
filter the array values without using filter function?
What is sql loader? Explain the files used by sql loader to load file?
What is the use of option explicit statement?
Why to use option explicit in vb script?
write a function to read the items from combobox of Flight reservation & save in excel (QTP)??
Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.
What's the difference between vbscript and vb.net?
How will you get a string with the specified character the specified number of times in vbscript?
How to capture a runtime error in vbscript?
What is the difference between vb debugger and the script debugger?
Why is the use of exit do or exit for statements within loops discouraged?
How should i Create Email invite with server-side Coding?
how to automatically update the sql server2005 database records when insert in vb6?
what is the use of QCUtil? explain with one example?