write a vb script to generate the following pattern
*****
****
***
**
*
Answer Posted / prathyusha
For i=5 To 1 Step-1
For j=1 To i
v=v&"*"
Next
n=n&vbCrLf&v
v=""
next
MsgBox n
Is This Answer Correct ? | 7 Yes | 0 No |
Post New Answer View All Answers
1. How do declare public variable in vb scripts?
Explain what is loose binding? Why is it not a good practice to use it?
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 the special sub-types in vbscript?
How to get the length of the string by making use of the string function?
What is the use of the ‘open’ method to work with the database in the vbscript language and what connection string is passed in the same and what is its usage?
Mention what is byref and byval parameters in vbscript?
How will you get the natural logarithm of the given number in vbscript?
write any ttest cases using check points and parameterization
Explain a few date functions in vbscript
What are class variables?
Which conditional statement is the most convenient one to use in the case of multiple conditions in the vbscript language?
A folder is there inside no of textfiles are avilable. How do count the textfiles. Normally folder means we are using subfolder methods but textfiles is not working for subfolder methods and how do get file name also.
Explain about vb script?
How will you get a subset of a array in vbscript?