answersLogoWhite

0


Best Answer

dim a,b,c

a=cint(inputbox("enter value for a"))

b=cint(inputbox("enter value for b"))

c=cint(inputbox("enter value for c"))

if((a>b)and(a>c)) then

msgbox "greatest number is a="&a

else if ((b>a)and(b>c)) then

msgbox "greatest number is b="&b

else

msgbox "greatest number is c="&c

end if

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 numbers using vb script?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you find the average of three numbers using vb script?

Add the numbers, then divide by three. I don't know vb script, but in most programming languages it would be something like this: result = (a + b + c) / 3


How do you find the greatest of three numbers using ternery operator?

Compare the first two numbers with the ternary operator. Store the result in a temporary variable. Compare the temporary variable with the third number, again using the ternary operator.


What is the greatest and the smallest 4 digit numbers using the digit 1234?

smallest=1234 greatest=4321


What is the greatest possible odd number using numbers 76038?

87603


Find the greatest common factor of the numbers using prime factorization?

i dont know what that means does anyone get this"find the greatest common factor of the numbers using prime factorization We'll be eager to jump on it as soon as you give us the numbers.


Where can you find a french script on The Three Little Pigs?

You can find a French script for "The Three Little Pigs" in a French-language script database or website, or by searching for it using French keywords on a search engine. Libraries or bookstores may also carry French translations of the script.


Is 5291 a prime number using 2 numbers?

No 5291 is not a prime using 2 numbers. It is a prime using three numbers.


What is the greatest difference in a subtraction using the numbers 1 2 4 and 5 only once?

The greatest difference is 541


Can you find greatest common factor of 3 numbers using Euclid's lemma?

Yes, you can.


What is the next greatest common factor of the numbers using prime factor 24 36?

The GCF is 12. The next greatest is 6.


How many whole numbers can you make using the first three whole numbers?

Using 1, 2, and 3, you can make 27 whole numbers.


What are the the 3 digit numbers using 1345678?

Using the digits of 1345678, there are 210 three digit numbers in which no digit is repeated.