17.DISPLAY GREATEST AMONG THREE
NUMBER .
DECLARE SUB GREAT(A,B,C)
CLS
INPUT “ENTYER ANY THREE NUMBER
“;A,B,C
CALL GREAT (A,B,C)
END
SUB GREAT (A,B,C0
IF A>B AND A>C THEN
PRINT “THE GREATEST NUMBER IS”;A
ELSEIF B>A AND B>C THEN
PORINT “THE GREATEST NUMBER IS”;B
ELSE
PRINT “THE GREATEST NUMBER IS”;C
END IF END SUB
No comments:
Post a Comment
beautiful