name the selection statement in Q Basic
Answers
Answered by
4
To choose between two or more sections of the program to execute, the IF statement can be used. It is also possible to use the WHILE, DO UNTIL and CASE statements. All of these control conditional execution by using a Boolean logic 'test', the result of which is either TRUE or FALSE. To repeat a section of code for a set number of times, the FOR statement is used.
The IF test can be executed in a single line, however it can also be used like the others to control a block of code.
Answered by
1
Answer:
- IF...THEN STATEMENT
- IF...THEN...ELSE STATEMENT
- SELECT...CASE STATEMENT
Explanation:
Similar questions