CLS
INPUT"Enter any number";A ,B , C
IF A > B and B > C THEN
PRINT"The greatest number is";A
ELSE IF B > A and B > C THEN
PRINT"The greatest number is "; B
ELSE
PRINT"The greatest number is "; C
END IF
END
INPUT"Enter any number";A ,B , C
IF A > B and B > C THEN
PRINT"The greatest number is";A
ELSE IF B > A and B > C THEN
PRINT"The greatest number is "; B
ELSE
PRINT"The greatest number is "; C
END IF
END
Comments