Trusted by millions of Kenyans
Study resources on Kenyaplex

Get ready-made curriculum aligned revision materials

Exam papers, notes, holiday assignments and topical questions – all aligned to the Kenyan curriculum.

Describe the switch statement.

Describe the switch statement.

Answers


Kavungya
The switch statement is applied in a case where the if-else statement may end up being too deeply nested. The switch statements make it easy to branch on any of a number of different values.
Kavungya answered the question on May 15, 2019 at 14:28

Answer Attachments

Exams With Marking Schemes

Related Questions