...

/

Challenge: Writing a switch Statement

Challenge: Writing a switch Statement

Solve the challenge to check your understanding of writing conditional logic using switch statements.

Task 1

Requirements

Given the following unfinished switch statements in C++, complete the missing code logic so that "Multiple of 5" is printed when num is divisible by 5, and "Not a multiple of 5" is printed otherwise.

Instructions

  • Read the unfinished switch
...