*
**
***
Please write a code to get output like above diagram? ple explain as it how the code works?

Answer Posted / pratap

for i=1 to 3 step 1
for j=1 to i step 1
vstr=vstr&"*"
next
vstr=vstr&vbnewline
next
msgbox vstr

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the .wsf files?

533


Illustrate briefly about the different types of statement

2027


hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?

1790


Could Anybody Please tell me What is the script for Find 3rd Largest element in the Array without using a SORT function int Find(int arr[], int size); Thanks in Advance..

2024


does anyone have qtp11.0 license key.Please sendit to my mail id-rrvv2011@gmail.com...Thanks

2507






how to write codings in QTP using vb script. please help me. i am new to QTP. it is easy or very much tough. please tell me

12901


How will you get a combined string from array of string in vbscript?

549


How will you get the smallest subscript of an array in vbscript?

814


When does ‘on click of button’ event gets triggered in the vbscript language?

552


How to take whole text output from screen of Bitmap Application.

1873


1) How can we use VB script in testing the application? 2) What all are the things(Software application to be installed in PC) we need to learn VBscript?

3557


Explain few date functions in vbscript?

614


Mention characteristics of sub procedures?

582


How will you get a subset of a array in vbscript?

589


Mention what is the use of option explicit in vbscript?

551