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
Mention what are the rules to name variable in vbscript?
Which function is used in the vbscript language to convert the specified expression into a date type value?
wat is the com(common object model)object for mozilla firefox???????plz if any one know the exact answer....reply me......
Both Static and dynamic arrays are handled by VB script. Is it true?
how to automatically update the sql server2005 database records when insert in vb6?
Why is the use of exit do or exit for statements within loops discouraged?
Explain the filter expression?
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
what is the standards used for writing the script in QTP
What is the purpose of on error resume next statement?
Which loop is used in case of arrays in the vbscript language?
filter the array values without using filter function?
What are the differences between sub procedures and function procedures?
what is the differance between BYVAL,BYREF?
What are the naming conventions while declaring a variable in the vbscript language?