Skip to main content

Practice ยท 3 of 4

Bug Hunt 3: The Silent Type Mix

This program runs without crashing โ€” but prints 55 instead of 10. A logic error. Diagnose and fix so the total is numeric.

Difficulty: beginner

Back to lesson: Practice: Bug Hunt โ€” Repair Broken Programs