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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

Which object provide information about a single runtime error in a vbscript?

596


We have 1 web page with names column. I am giving the Service Providers1,2,3.... @ that time dynamically some no of names are displaying in the webpage and The Pop up windows are opening(No.of Pop Up windows=No.of Names). The names may be diffar for each and every Service Provders (Dynamically) How can we handle the Dynamic values?

1750


What are the naming conventions while declaring a variable in the vbscript language?

612


How can you destroy an object in vbscript?

637


how to check whether link is disabled in QTP??

5629






how to increase the values in text box in a given text box increament by two values by clicking on button

1641


When to use function procedures and what are its characteristics?

547


Mention if qtp generates vbscript code as we record actions, can't it possible to directly write using vbscript code when qtp does the same thing too?

523


what is the differance between BYVAL,BYREF?

1764


write any ttest cases using check points and parameterization

1814


I need to get some data from data base and store this (retrieved) data in a excel sheet using VB script in QTP9.0 I have created connection for data base I have created as excels sheet by using Set XL=CreateObject("Excel.Application") XLworksheet.cells(1,1).value= rs.fields.item("<>") I have taken a for loop and changed the cells values (1 as i and another 1 as j) But still I am not able to get Plz kindly tell me know this . It is very urgent

1764


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

2500


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

1864


Out of the different type of operators, which are evaluated first and last in the vbscript language?

559


Explain the adodb.stream class?

543