Can anyone help me in write coding to get this pattern
*
**
***
****
Answers were Sorted based on User's Feedback
Option Explicit
Dim i,j,k
for i=1 to 5
for j=1 to i
k=k&"*"&" "
Next
k=k&" "&vbnewline
next
msgbox k
Is This Answer Correct ? | 1 Yes | 0 No |
Answer / anil
For i=0 To 4
For j=0 To i
vstr=vstr&"*"&""
Next
vstr=vstr &" "
Next
msgbox vstr
Is This Answer Correct ? | 3 Yes | 3 No |
Answer / chandu
a=4
for i=1 to a step 1
b= string(i,"*")
c=c&" "&b
next
msgbox c
Is This Answer Correct ? | 1 Yes | 1 No |
Please Example programms on vbscript 1)writing functions and calling functions
how to automatically update the sql server2005 database records when insert in vb6?
which is the good software training centre in bangalore?
How will you get the smallest subscript of an array in vbscript?
How to write VB script for login module?
Explain about the functionality of vb script?
Difference between Function and Sub routine?
. Program for sorting of numbers in vb script?
Which respective symbols are used to separate a line and to break the lengthy statement into multiple statements in the vbscript language?
How strcomp function works?
write a vb script to display first 5 odd numbers from 1 to 100
join all the array values without using join function?