Project: Make Decisions

Use control flow with branching to solve the challenge.

We'll cover the following

Ask the user to pick a number and respond with a special message depending on what they choose:

  • If the number is 7, show: "Lucky number!"

  • If it’s even (but not 7), show: "Even choice."

  • If it’s odd and not 7, show: "Odd one out!"

Get hands-on with 1400+ tech skills courses.