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 ? | 7 Yes | 1 No |
Post New Answer View All Answers
Explain about vb script?
How to write functions and sub in vb script?
When are redim statement and preserve keyword used in the vbscript language?
Which object is used to work with the database in the vbscript language and what statement is used to create this object?
Please let me Know regarding any material regarding VB Scripting which should be easily understandable for Beginners.
how to check whether link is disabled in QTP??
What are lbound and ubound in the vbscript language?
How are values assigned to string type and numeric type variables?
Illustrate briefly about the different types of statement
filter the array values without using filter function?
What is the purpose of folders object of scripting.filesystemobject class in vbscript?
i wrote vbscripit code in notepad i got error i am in learning stage if u ps tell me what wrong in my code my error is "object required descriptive at line one run time error"and my code is "set usernameobj=Descriptive.Create() usernameobj( "name").value="Username" set passwordobj=Descriptive.Create() passwordobj("name").value="password" set signinobj=Descriptive.Create() signinobj("name").value="sigin" browser("gmail").page("gmail").WebEdit("usernameobj").set ("enter username") Browser("gmail").Page("gmail").WebEdit("passwordobj").Set secure.Crypt.Encrypt("enter password") browser("gmail").page("gmail").WebButton("siginobj").click
What is Procedure or Subroutine in VB Script?
Write a code to print numbers from 5 to 0?
Is VB Script Case sensitive or Case insensitive?