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
Explain the extension .hta?
how to comvert 120 into one hunderd twenty rupees only and vice varsa
Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?
What are the 2 ways to pass a value to the function?
Hi anyone Can Send Solution to the Question wt m posting now Prepare Script for the Bellow Scenario? Login to Gmail Page Open Inbox check Mails save them in a Folder
Mention what is select case statement?
How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'
Explain the .wsf files?
Which operator is used for fetching the modulus of the 2 numbers in the vbscript language?
Illustrate briefly about the different types of statement
What are events in the vbscript language?
Which operator can be used to do an xor operation in vbscript?
Which operator can be used to change the value of the operand or change the state of the condition?
how does vb script help in web page designing? explain with example.
How will you get the exponent of the given number in vbscript?