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 |
Mention what if you do not specify anything when you call a procedure?
How to get 120 using 5 zeroes, you can use any operator(+, *, /...) in qtp.
Am working with web application. i faced one senario. i.e, webpage having webtable having two coloumns, in that first coloumn is for serial no and second coloumn is for mac address link, now i want to get first row second coloumn value, that having macaddress as link. Please help me how to get that link?
Which operator can be used to do an xor operation in vbscript?
How to make sure that items in a wintree are sorted al?
How to open excel in vb script?
How to insert snapshot during manual scripting in QTP?
Explain a few date functions in vbscript
1. How do declare public variable in vb scripts?
I want to run QTP script on Linux server is it possible to do this by connecting Windows to Linux through VPN/Terminal Server and just run the script on Linux server.
Hi I am having one folder with set of text files now i want to read and write that text files data into QTP. Any help plsss.
Explain the scope of the variables using dim, public, and private keywords respectively.