Skip to content

Commit

Permalink
Fix wording of question to make it more clear (#51)
Browse files Browse the repository at this point in the history
* Fix wording of question to make it more clear

It is a bit unclear what exactly is the goal output because the word "is" isn't in the goal.

* Update challenges.md

---------

Co-authored-by: Ethan McCue <[email protected]>
Co-authored-by: Ethan McCue <[email protected]>
  • Loading branch information
3 people authored Sep 5, 2024
1 parent 9f2a370 commit fa1d1f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/branching_logic/challenges.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ void main() {

## Challenge 4

Write code that will assign the string `The number is {x} even` to `message` if `x` is an even number
and `The number is {x} odd` if `x` is an odd number.
Write code that will assign the string `The number {x} is even` to `message` if `x` is an even number
and `The number {x} is odd` if `x` is an odd number.

So if `x` is 12 the string you should assign `The number 12 is even` to `message`.

Expand Down

0 comments on commit fa1d1f5

Please sign in to comment.