Computer Science, asked by jeevithamoorthy46, 9 hours ago

Write a Program in QB64 To find the greatest of numbers

Answers

Answered by pranaysmaske
0

Answer:

CLS

INPUT "Enter the first number"; a

INPUT "Enter the second number"; b

INPUT "Enter the third number"; c

IF a > b AND a > c THEN

   PRINT "The greatest number is "; a

ELSEIF b > a AND b > c THEN

   PRINT "The greatest number is "; b

ELSE

   PRINT "The greatest number is "; c

END IF

END

Explanation:

Similar questions