Saved Bookmarks
| 1. |
What is selection statement? Write it’s types. |
|
Answer» The selection statement means the statements are executed depends – upon a condition. If a condition is true, a true block (a set of statements) is executed, otherwise a false block is executed. This statement is also called decision statement or selection statement because it helps in making decision about which set of statements are to be executed. Types: 1. Two way branching 2. Multiway branching |
|