write a basic program using if then else statement?
Answers
Answered by
2
Answer:cls
INPUT "ENTER FIRST NUMBER (A) : ",A
INPUT "ENTER SECOND NUMBER (B) : , B
IF A IS GEATER THAN B THEN PRINT "A IS GREATER" ELSE PRINT "B IS GREATER"
END
Explanation: THE OUTPUT SCREEN WILL LIKE THIS:-
ENTER FIRST NUMBER (A) : 88
ENTER SECOND NUMBER (B) : 92
B IS GREATER
Similar questions
Social Sciences,
6 months ago
Math,
6 months ago
Social Sciences,
1 year ago
Chemistry,
1 year ago
Math,
1 year ago
Math,
1 year ago