Correct and rewrite the following QBasic Statements :
a) IF A IS GREATER THAN B THEN PRINT A OTHERWISE PRINT B
Answers
Answered by
3
Answer:
if a is greater than b then you should print the a is greater than b
Answered by
0
QBasic statement to check whether A is greater or B is greater:
IF A>B THEN
PRINT A
ELSE
PRINT B
END IF
- IF...THEN...ELSE Statement executes a statement or statement block depending on specified conditions.
- If the specified condition is TRUE the statement block in if-part is executed and if the condition is FALSE, the statement block in else-part is executed.
Similar questions
English,
1 day ago
Math,
1 day ago
Math,
2 days ago
Chemistry,
2 days ago
Political Science,
8 months ago