Write a short note on selection
statements with examples
Answers
Answered by
3
Answer:
Here is your answer
Explanation:
A selection statement selects among a set of statements depending on the value of a controlling expression. The selection statements are the if statement and the switch statement, which are discussed in the following sections.
Hope it's help you
Answered by
4
Another way to make programs user interactI've and flexible is to make the program able to handle more than one case. This is done by making use of selection statements. Selection statements allow a program to test several conditions, and execute instructions based on which condition is true . This is why selection statements are also referred to as conditional statements
Similar questions