From b8579ebd4fbf103d6945252960d29b7d5716c14e Mon Sep 17 00:00:00 2001 From: ArkhamCookie <github@mail.theuntitledproject.dev> Date: Wed, 4 Sep 2024 13:07:42 -0500 Subject: [PATCH 1/2] 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. --- src/branching_logic/challenges.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/branching_logic/challenges.md b/src/branching_logic/challenges.md index 56cb084..674639d 100644 --- a/src/branching_logic/challenges.md +++ b/src/branching_logic/challenges.md @@ -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 is {x} is even` to `message` if `x` is an even number +and `The number is {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`. From 04e11de8e7291eaf1810440bc74bd0b2c6144b3c Mon Sep 17 00:00:00 2001 From: Ethan McCue <emccue@live.com> Date: Thu, 5 Sep 2024 09:03:37 -0400 Subject: [PATCH 2/2] Update challenges.md --- src/branching_logic/challenges.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/branching_logic/challenges.md b/src/branching_logic/challenges.md index 674639d..213d4b5 100644 --- a/src/branching_logic/challenges.md +++ b/src/branching_logic/challenges.md @@ -41,8 +41,8 @@ void main() { ## Challenge 4 -Write code that will assign the string `The number is {x} is even` to `message` if `x` is an even number -and `The number is {x} is 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`.