Friday, October 25, 2019

QBasic to display greater among three number

CLS
INPUT"Enter any number";N
IF A>B and B>C THEN
PRINT"Greater number is";A
ELSE IF B>A and B>C THEN
PRINT"Greater number is";B
ELSE
PRINT"Greater number is";C
END IF 
END

No comments:

Post a Comment

Radio wave

 Radio wave     is an electromagnetic wave of a frequency between about   10 4  and 10 11  or 10 12  Hz , as used for long distance communic...