Computer Science, asked by hardikkaria6apvm, 1 day ago

Write a qbasic program to find the greatest number among the entered three number.

Answers

Answered by kumareshb272006
0

Explanation:

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

Answered by Piyush7246
0

Answer:

I hoop it is help full for you

Attachments:
Similar questions