write a text script to display * as below
**********
**** ****
*** ***
** **
* *
* *
** **
*** ***
**** ****
**********



write a text script to display * as below ********** **** **** *** *** ** ** * ..

Answer / chandra

for i = 1 to 5
for j = 1 to i
k = k & "*"
next
k = k&vbcrlf
Next
Msgbox k

Is This Answer Correct ?    0 Yes 3 No

Post New Answer

More VB Script Interview Questions

when you use For Loop, While..do, do..while? at what situations which loop will use.

1 Answers  


this q asked in applabs, q is: QTP should open google.com page and enter "qtp" in one edit(search) box and click search and should open google.com again and enter "job" in edit(search) box and click on search. I tried this but getting error "Edit(search) box matches more than one object", could anyone this question plz..

1 Answers   AppLabs,


How to write a VBscript for web page performance test i need a code send if any knows the code If any knows VBScript book plz send to me the link to my mail plz

1 Answers  


what is resorceallocation

1 Answers  


When inserting strings into a SQL table in ASP what is the risk and how can you prevent it?

1 Answers  


how to store charecters of HARIBABU Using arrays

4 Answers   Cap Gemini,


how to organize files in object repository of qtp

1 Answers  


How do I check that the names in a weblist are correct e.g in flight application the names of item are Denver, paris,London, etc. How do I ensure the correct item is displayed from the list after doing item count ?

2 Answers   IBM,


how do you make the variable declaration mandatory?what is the use of "option explicit"?

2 Answers  


How will you get a random number between 0 and 1 in vbscript?

1 Answers  


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

4 Answers   TCS,


Both Static and dynamic arrays are handled by VB script. Is it true?

1 Answers  


Categories