Lesson 12
Unlock this lesson
Create a free account, then buy the course to open every lesson.
What you will learn in this lesson
- Put an if inside another if, for a decision in two stages.
- Pick one of many exact values with switch.
- Stop each case with break, and catch everything else with default.
- See what happens when you forget break.
- Use switch with characters, and join cases together.
Everything in C Programming: BCA, MCA, BTech & O Level
- 37 step-by-step lessons
- 10 mini projects with solutions
- A final project for your portfolio
- Real commands and real output in every lesson
- Practice task with a solution in each lesson
- Progress saved to your account