Answer Posted / mudaseer
dim varr(4),vhigh
for i=0 to 4 step 1
varr(i)=cint(inputbox("enter the value"))
next
vhigh=varr(0)
for i=1 to 4 step 1
if varr(i)>vhigh then
vhigh=varr(i)
end if
next
msgbox vhigh
| Is This Answer Correct ? | 8 Yes | 2 No |
Post New Answer View All Answers
i need to sort the data using qtp script for this how i need to write a qtp script
Which in-built function is used to format the number in the vbscript language?
How to declare an array in vbscript?
Explain the arrays in vb script?
How are values assigned to string type and numeric type variables?
Dear All, I am geting below IE error whilie executing the QTP scripts in Batch mode "Internet Explorer has encountered a problem and needs to close. We are sorry for the inconvenience." can any one suggest me how to resolve this issue . Thanks Balaji
How many types of procedures are available in the vbscript language?
hi what is called GUI in QTP 8.2 and how can we test the apllication using GUI?
what is diff between static and dynaic arrys?
after medical test,when will be the police verification
What's the difference between vbscript and vb.net?
What is the scope of a constant declared using public?
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?
What is vbscript language used for and which earlier language is it modeled upon?
How will you release the memory acquired by an array variable in vbscript?