Answer Posted / raju
dim i, lar, j, a()
i=Cint(Inputbox("Enter the value how many value to be enter"))
for j=1 to i
ReDim a(i)
a(j)=inputbox("enter the numbers")
Next
lar=a(0)
for j=1 to i
If a(j)>lar Then
lar=a(j)
End IF
Next
msgbox "Largest Number is" & lar
Is This Answer Correct ? | 6 Yes | 4 No |
Post New Answer View All Answers
I am working on QTP, got struck in one place.. In my application depending upon configuration WebEdit count is increasing/ decreasing.. how to get these webedits..
What are the naming conventions while declaring a variable in the vbscript language?
What is the difference between VBScript and JavaScript?
Which operator is used to concatenate the 2 values in the vbscript language?
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
How to find the font in qtp. Scenario:After entering the username and passwd you will be navigate into the "welcome:Username" page.Now I want to extarct font for this message.
How many types of procedures are available in the vbscript language?
What are the different types of loops available in the vbscript language?
What is the scope of a constant declared using public?
What is the purpose of the err object in the vbscript language?
Explain about operator precedence in vb script?
Which data type/types are supported by vbscript language and what are their specialties?
Can anyone send me a vb script function for verifying the functionality of active links on a web page
Explain the constants in vbscript?
How are arrays declared in the vbscript language?