From the course: Complete Guide to C Programming Foundations

Unlock the full course today

Join today to access over 24,300 courses taught by industry experts.

Challenge: Select an item

Challenge: Select an item

(light upbeat music) - [Instructor] For this challenge, use exercise file 04_05 challenge1.c as your starting point. Modify the code to translate the if else-if else construction into a switch-case structure. This process may not be as straightforward as it looks. The challenge should take you around 10 minutes to complete.

Contents