Can anyone help me in write coding to get this pattern
*
**
***
****

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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which command is used for writing text on a page?

577


What are the 2 ways to pass a value to the function?

518


how to comvert 120 into one hunderd twenty rupees only and vice varsa

1805


Can u describe what kind of testing are for OTC derivates by banks.

1668


Set srchobj=Description.Create() srchobj("type").value="text" srchobj("name").value="q" srchobj("html tag").value="input" browser("micclass:=google").Page("micclass:=google").webedit (srchobj).Set "qtp" what's wrong in my code pls tell me ? the above code working fine and i got my result pass,now i am trying to run the program it shows general run time error why?pls help me i am in learning stage ?

1552






How will you reverse a string in vbscript?

620


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

1771


How to Convert Hex color code to color name in VB Script?

3934


i need to sort the data using qtp script for this how i need to write a qtp script

3220


Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji

1244


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?

525


What are the special sub-types in vbscript?

554


PLz send me the VB scripts which is having more examples my email id : hareen_11@yahoo.com

1665


How will you get the natural logarithm of the given number in vbscript?

605


what is inner join? what is outer join? what is a constraint? tell me about rdbms? tell me about acid properties?

1432