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

Answers were Sorted based on User's Feedback



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

Answer / 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

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

Answer / manjunathareddy

For i=1 to 3
Var=Var&" "& string(i,"*")&Vbnewline
Next
Msgbox Var

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More VB Script Interview Questions

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

0 Answers  


What is the use of the date function in the vbscript language?

0 Answers  


How to write a general script which should does the following a). If a page object is given, it should identify the page object of the corresponding page(site). b). It should identify all the links of that particular page. in QTP tool?

2 Answers   IBM, Infosys, Wipro,


How to make sure that items in a wintree are sorted al?

0 Answers   Ness Technologies,


What are class properties?

0 Answers  






Which in-built function is used to format the number in the vbscript language?

0 Answers  


write a vb script to generate hello 5 times using do until loop

4 Answers  


Explain the difference between POST and GET Method.

1 Answers  


Plzzzzzzz can any one tell me which is the best institute in hyderabad for learing VBScript. plz do answer guys its urgent plzzzzzzz. thanks in advance.

0 Answers  


write a vb script to find the size of d drive?

3 Answers  


What are the advantages of vbscript?

0 Answers  


How to capture a runtime error in vbscript?

0 Answers  


Categories