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
Like OPTION EXPLICIT statement what are the other statements used in vbscript and their usage. Please post me all the statements please.
filter the array values without using filter function?
How will you format a number in percetage format in vbscript?
how to increase the values in text box in a given text box increament by two values by clicking on button
Which operator can be used to do an xor operation in vbscript?
What is dictionary object in vbscript? Explain?
How can you destroy an object in vbscript?
How to make sure that items in a wintree are sorted al?
Hellow friends, I am learning QTP,but here problem is VB script. please guide me how to learn VB script w.r.t QTP and if you know any books tell me or if you have any materials or any use full material or any else w.r.t QTP please post me p.p.sekhar
Why to use option explicit in vb script?
What is vbscript language used for and which earlier language is it modeled upon?
What are the 2 ways to pass a value to the function?
Which function is used in the vbscript language to convert the specified expression into a date type value?
give me any information abou vb script books learn quckly
Explain about scrrun.dll?