answersLogoWhite

0


Best Answer

option explicit

Dim vnum1,vnum2,vnum3

vnum1=cint(inputbox("enter the first number"))

vnum2=cint(inputbox("enter the second number"))

vnum3=cint(inputbox("enter the third number"))

if (vnum1>vnum2 AND vnum1>vnum3) then

msgbox vnum1 &" is greater"

else if (vnum2>vnum1 AND vnum2>vnum3) then

msgbox vnum2 &" is greater"

else if vnum3>vnum2 AND vnum3>vnum1 then

msgbox vnum3 &" is greater"

else

msgbox "They all equal"

end if

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you find the greatest of three number using vbscript?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Can you write an algorithm to find the greatest of three number using class?

Yes. But why?


Home page containing pull down menu box for the links using vbscript?

Home page containing pull down menu box for the links using VBScript.


What is the greatest odd number using 83067?

What is the greatest possible number of 83067 and the least


How do you find out how many digits are in integer using vbscript?

num=32767 MsgBox(len(num))


What is the greatest and least number of 90000?

The greatest number that can be formed using the digits 9, 0, 0, 0, and 0 is 99,000. The least number that can be formed using these digits is 9,000.


What is the greatest seven-digit number using four different digits?

9,999,876 is the greatest seven-digit number using four different digits.


What has the author Sloan Trasher written?

Sloan Trasher has written: 'Building web applications using VBScript' -- subject(s): World Wide Web, HTML (Document markup language), VBScript (Computer program language)


How do find factorial using vbscript?

<html> <script language="vbscript"> n=cint(inputbox("Enter a number")) dim f f=1 if n<0 then Msgbox "Invalid number" elseif n=0 or n=1 then MsgBox "The factorial of given number "&n&" is :"&f else for i=n to 2 step -1 f=f*i next MsgBox "The factorial of given number "&n&" is :"&f end if </script> </html>


What is the greatest number that can be made by using 53147?

75431


What is the greatest odd number using 76038?

87603


What is the greatest number you can make using 4 zeros?

90000


What is the Greatest number of people using contraception?

China and or Bulgaria.