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

Q: How do you find the greatest of three numbers using vb script?

Write your answer...

Submit

Still have questions?

Continue Learning about Math & Arithmetic

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

The greatest difference is 541

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

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

Using the combination fuction, chose three numbers from 45 numbers. The answer is 14,190.

Related questions

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

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.

smallest=1234 greatest=4321

87603

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.

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.

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

The greatest difference is 541

Yes, you can.

The GCF is 12. The next greatest is 6.

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

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