write a vb script to generate the following pattern
*****
****
***
**
*
Answer Posted / nilesh banjare
Num=InputBox("Please enter the number")
For j = 1 To Num Step 1
str= ""
For i = Num to j step -1
m="*"
str = str & m
Next
print str
Next
OUTPUT:-
*****
****
***
**
*
| Is This Answer Correct ? | 5 Yes | 4 No |
Post New Answer View All Answers
wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......
Explain about the functionality of vb script?
please can you help me to get a code of flames using a visual basic 6
Explain about vb script?
What is the difference between javascript and vbscript?
What is Procedure or Subroutine in VB Script?
How to access array data?
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("<
How will you get the natural logarithm of the given number in vbscript?
Compare java script and vb script?
can anyone tell me the procedure of interview held in applabs
how does vb script help in web page designing? explain with example.
Which command is used for writing text on a page?
What is the difference between function and procedure?
Write a Program to add 2 numbers without using operators (+,-) and without using third variable. Note: Use VBScript only Hint: You can use other operators like '/' & '*'(Division & Multiplication)