List the decision making statements in QBasic
please answer the question
Share
List the decision making statements in QBasic
please answer the question
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
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 .