Computer Science, asked by thapasulaxana, 6 months ago

Write a Qbasic program to determine a greatest number among any three number supplied by user

Answers

Answered by singhanju71074
15

Answer:

WAP to enter any two numbers and display the greater one. ... Program to print the smallest among ten different numbers. .

Answered by ananthasreemenon16
83

Answer: To display the largest number among any three numbers. (Qbasic Code)

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: PLZ PLZ PLZ MARK ME AS BRAINLIEST IF HELPFUL

Similar questions