List the decision making statements in QBasic
please answer the question
Answers
Answer:
The IF statement always asks a question (usually about the number in a variable). ...
If the answer is TRUE only the true-branch is executed.
If the answer is FALSE only the false-branch is executed.
No matter which branch was chosen, execution continues with the statement after the END IF .
Explanation:
QBasic Two-way Decision
QBasic Two-way DecisionThe IF statement always asks a question (usually about the number in a variable). ...
QBasic Two-way DecisionThe IF statement always asks a question (usually about the number in a variable). ...If the answer is TRUE only the true-branch is executed.
QBasic Two-way DecisionThe IF statement always asks a question (usually about the number in a variable). ...If the answer is TRUE only the true-branch is executed.If the answer is FALSE only the false-branch is executed.
QBasic Two-way DecisionThe IF statement always asks a question (usually about the number in a variable). ...If the answer is TRUE only the true-branch is executed.If the answer is FALSE only the false-branch is executed.No matter which branch was chosen, execution continues with the statement after the END IF .