write a vb script to generate the following pattern
*****
****
***
**
*
Answer Posted / sumathi
For i=5 to 1 step -1
var=string(i,"*")
print var
Next
Is This Answer Correct ? | 14 Yes | 11 No |
Post New Answer View All Answers
What are the different types of operators and their order of precedence?
How to open a file. What is the perpose of true and false mode there?
why do u choose to go for testing why cant for devoloping
Mention what is variant in vbscript?
how to check whether link is disabled in QTP??
What is loose binding? Why is it not a good practice to use it?
Anyone have qtp11.0 crack?
what is used of Property........End Property loop ? how to write the script for it?
How do i automate a website www.flyashx.com without having any test cases witin a week time.
Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.
What is Procedure or Subroutine in VB Script?
I have an excel sheet with multiple ID's in a column. Now i need fetch those ID's in an application and check whether if it already exist in the DB. If not then i have to go with the process of inserting them in the DB. If it exists then i need to skip that ID and move to the next ID and check the same and proceed. How can i do that with for loop and if condition?
What are class properties?
Hello friends..... Can any give the methods for Ms-Access, and Mozilla firefox in Automation Object Model in QTP. Please give me currect answers... if you do not understand my question please don't give answers. Thanking you.
What are the different types of loops available in the vbscript language?