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 |
Whenever I use Wscript.Echo Qtp raising Run time error as 'Object required for Wscript' How I can create object for Wscript
who will create the object?
Out of the different type of operators, which are evaluated first and last in the vbscript language?
Mention what is the main difference between function and sub-procedure?
Can someone please tell me what poor design in a relational database (not the layout or style) is and how it can be avoided? PLEASE...im desperate.
In qtp, how to use XML files for framework. if the XML files are more Efficient than Excel files?
Explain the functionality of vbscript?
Differentiate javascript and vbscript?
How do you declare a variable in vbscript?
what is the object hyrarchy in QTP for a web based application
HI how can handle dynamic image through vb script example we have to create email id fill the edit box(these latters change wrong password) i am wating your answer
Explain about tristate constants?