Saved Bookmarks
| 1. |
What are selection statements? Give the different types of selection statements. |
|
Answer» Selection statements are used to execute certain block of statements by evaluating the conditions. The different selection statements are 1. ‘if’ statement 2. ‘if-else’ statement 3. ‘if-else-if’ (nested) statement 4. ‘switch’ statement |
|