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 to take whole text output from screen of Bitmap Application.
Mention how you can call vbscript functions?
What is the difference between a dictionary and an array?
What is the use of the recordset object and which statement is used to create such an object?
hi all, i had a question, that how to find out hiding a coloumn in a table i had a table having the following column names NAME DESCRIPTION CREATED TIME CREATED USER if i right clicked on a NAME column it will displays a menu having the same column names in a list like NAME DESCRIPTION CREATED TIME CREATED USER with check boxes.if i unched any check box, that column name should not be appear in the main table column names could anyone please solve this problem?
How will you check that a variable is an array in vbscript?
What methods are used to create text files and open text files in the vbscript language?
How should i Create Email invite with server-side Coding?
What are the differences between sub procedures and function procedures?
1.I want to establish connection with excel and also want to fetch the data using SQL queries. 2.the code should be written in such a way that in future if I want to migrate from excel to MS excess database , then there should be minimal changes.
Which constant is used for print and display functions and works as same as pressing enter key?
How to write a VBscript for web page performance test i need a code send if any knows the code If any knows VBScript book plz send to me the link to my mail plz
Capture the Unique label changes on google home page for I am feeling lucky button and save those label changes to Notepad Note: Using QTP
How to identify column in VSFlexgrid? My VSFlexgrid window is identified as 'Active X Control'
If we take 2 strings as “good” and “bad” then what will ‘+’ and ‘&’ operators return?