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 ? | 8 Yes | 4 No |
Post New Answer View All Answers
How will you get the smallest subscript of an array in vbscript?
What is sql loader? Explain the files used by sql loader to load file?
write a function to read the items from combobox of Flight reservation & save in excel (QTP)??
What is the difference between vbscript and vba?
Mention the rules for using option explicit statement?
Which in-built functions are used to convert the specified expression in the form of date and string in the vbscript language?
How to write VB script for login module?
How to make sure that items in a wintree are sorted al?
how to acces the remote mechine using vb cript(QTP)
Explain a few date functions in vbscript
wht must be the interview question on corinthian information technology solutions incorporated.
When does ‘on click of button’ event gets triggered in the vbscript language?
Mention what is the use of option explicit in vbscript?
How are comments handled in the vbscript language?
How regexp.execute method works?