write a vb script to generate the following pattern
*****
****
***
**
*
Answer Posted / sanju
ioutput=""
inum=inputbox("enter number")
For indx1 = inum To 1 step-1
For indx2 = 1 To indx1
ioutput=ioutput&"*"
Next
print ioutput
ioutput=""
Next
| Is This Answer Correct ? | 2 Yes | 1 No |
Post New Answer View All Answers
Mention what is byref and byval parameters in vbscript?
Write a Script for ATM in QTP
can anyone tell me the procedure of interview held in applabs
How to get the length of the string by making use of the string function?
In html file what is an ideal position to include vbscript?
hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?
Which date function is used in the vbscript language to find the difference between the 2 dates?
How to open browser in vb script?
can anyone send me a vb scripts code for clicking on a link and coming back on home page again does the same for many links on a web page.
hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?
how to set one column as primary key in QTP and fetch values accordingly
How are values assigned to the variables in the vbscript language?
Can any one provide code for Mid(string,start[,length]). I have been asked to write code for Mid(). i.e We need to define our own function say MyMid() which should behave same like built-in Mid function
What is the use of the date function in the vbscript language?
Explain the support of asp for vb script functionality?