← All tasks
🔍
Programming Beginner

Fix a Missing break in a switch Statement

⏱ 5 min ⭐ 120 XP 🔁 3 attempts allowed

What you'll do

Find the line missing a break, causing execution to fall through into the next case unintentionally.

Scenario

Selecting the 'small' size in a pricing switch is also applying the 'medium' price on top.

Ready to try it?

Create a free account and subscribe to take "Fix a Missing break in a switch Statement". Earn 120 XP and track your internship progress.

Already have an account? Sign in