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 increasing the numbers in a given text box please write a vb script
Hi this is Vinoth. I need a help on below mentioned question A combobox contains list of items assume as 5 I have to get each items Individually and I have to Export to datatable. Please help me on this. Thanks
hi i am trying for testing job for 3+ experience(fake) can u suggest me what type of projects i can keep in my resume and how much of knoeledge i should have abt that project.thnks in advance.urgt plz
Explain about tristate constants?
Which event is triggered when mouse focus comes out of an element in the vbscript language?
What is the difference between vb debugger and the script debugger?
HOw we can apply web service checkpoint in QTP 9.5? I tried it out with net connection also. But not getting success.
How should i Create Email invite with server-side Coding?
Hello Guys, If any body looking for "worksoft certify tool training in bangalore", please contact me aimansaud@gmail.com
Why is the use of exit do or exit for statements within loops discouraged?
hi Set myobj=Description.Create() myobj("type").value="submit" myobj("name").value="google search" myobj("html tag").value="button" browser("title:=google").page("title:=google").webButton (myobj).Click i was running above code in one weak back it was working fine i got result,again i opened after few days ,again i was trying to run the code it shows run time error in last line of my code ,why ?pls answer my question?
How will you get the largest subscript of an array in vbscript?
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.
What is the difference between vbscript and vba?
What is the difference between VBScript and JavaScript?