From e19451b2de79d9c52e87d34fcb5a03e3e7cfa38d Mon Sep 17 00:00:00 2001 From: Thomas antony <77287334+thomasantony12@users.noreply.github.com> Date: Sat, 1 Jun 2024 18:45:54 +0530 Subject: [PATCH 1/7] Update instructions.md --- exercises/concept/bird-watcher/.docs/instructions.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/exercises/concept/bird-watcher/.docs/instructions.md b/exercises/concept/bird-watcher/.docs/instructions.md index 44df8b2f6..df2fb1fb7 100644 --- a/exercises/concept/bird-watcher/.docs/instructions.md +++ b/exercises/concept/bird-watcher/.docs/instructions.md @@ -1,6 +1,6 @@ # Instructions -You're an avid bird watcher that keeps track of how many birds have visited your garden in the last seven days. +You're an avid bird watcher who keeps track of how many birds have visited your garden in the last seven days. You have six tasks, all dealing with the numbers of birds that visited your garden. @@ -49,7 +49,7 @@ birdCount.hasDayWithoutBirds(); ## 5. Calculate the number of visiting birds for the first number of days -Implement the `BirdWatcher.getCountForFirstDays()` method that returns the number of birds that have visited your garden from the start of the week, but limit the count to the specified number of days from the start of the week. +Implement the `BirdWatcher.getCountForFirstDays()` method that returns the number of birds that have visited your garden from the start of the week, but limit the count to the specified number of days from the beginning of the week. ```java int[] birdsPerDay = { 2, 5, 0, 7, 4, 1 }; @@ -60,7 +60,7 @@ birdCount.getCountForFirstDays(4); ## 6. Calculate the number of busy days -Some days are busier that others. A busy day is one where five or more birds have visited your garden. +Some days are busier than others. A busy day is one where five or more birds have visited your garden. Implement the `BirdWatcher.getBusyDays()` method to return the number of busy days: ```java From 360f3e44affb7961707651303dbe3a89df2ab072 Mon Sep 17 00:00:00 2001 From: Thomas antony <77287334+thomasantony12@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:11:01 +0530 Subject: [PATCH 2/7] Update instructions.md --- exercises/practice/hello-world/.docs/instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/practice/hello-world/.docs/instructions.md b/exercises/practice/hello-world/.docs/instructions.md index c9570e48a..669545997 100644 --- a/exercises/practice/hello-world/.docs/instructions.md +++ b/exercises/practice/hello-world/.docs/instructions.md @@ -9,7 +9,7 @@ The objectives are simple: - Modify the provided code so that it produces the string "Hello, World!". - Run the test suite and make sure that it succeeds. -- Submit your solution and check it at the website. +- Submit your solution and check it on the website. If everything goes well, you will be ready to fetch your first real exercise. From 88d037a2bebb634d31aa430b86166cc66e63f333 Mon Sep 17 00:00:00 2001 From: Thomas antony <77287334+thomasantony12@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:16:37 +0530 Subject: [PATCH 3/7] Update instructions.append.md --- exercises/practice/hello-world/.docs/instructions.append.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/practice/hello-world/.docs/instructions.append.md b/exercises/practice/hello-world/.docs/instructions.append.md index f70c88daa..d8e02b082 100644 --- a/exercises/practice/hello-world/.docs/instructions.append.md +++ b/exercises/practice/hello-world/.docs/instructions.append.md @@ -58,7 +58,7 @@ After making corrections and implementing your solution, run the tests again. You can run the tests using the online editor or locally on your machine: - To run the tests in the online editor, click the "Run Tests" button. -- To run the tests locally, check [Testing on the Java track][Testing locally on the java track] If the tests fails, that's ok! See what the error message is telling you, change your code and test again, when your tests pass, move on to the next step. +- To run the tests locally, check [Testing on the Java track][Testing locally on the java track] If the tests fail, that's ok! See what the error message tells you: change your code and test again; when your tests pass, move on to the next step. ### Step 3: Submitting your first iteration @@ -103,7 +103,7 @@ exercism download --exercise=two-fer --track=java ### Become a mentor -The heart of Exercism are the conversations about coding practices. +The heart of Exercism is the conversations about coding practices. It's definitely fun to practice, but engaging with others both in their attempts and your own is how you get feedback. That feedback can help point out what you're doing well and where you might need to improve. From 62b95156a7d4d991c070f171cbe9d19a125285a0 Mon Sep 17 00:00:00 2001 From: Thomas antony <77287334+thomasantony12@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:25:44 +0530 Subject: [PATCH 4/7] Update instructions.md --- exercises/concept/lasagna/.docs/instructions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/concept/lasagna/.docs/instructions.md b/exercises/concept/lasagna/.docs/instructions.md index a0cc80c32..7b9fbc332 100644 --- a/exercises/concept/lasagna/.docs/instructions.md +++ b/exercises/concept/lasagna/.docs/instructions.md @@ -1,6 +1,6 @@ # Instructions -In this exercise you're going to write some code to help you cook a brilliant lasagna from your favorite cooking book. +In this exercise, you're going to write some code to help you cook a brilliant lasagna from your favourite cooking book. You have four tasks, all related to the time spent cooking the lasagna. From 7988673c1cc52406559927f16b8656e6b3138203 Mon Sep 17 00:00:00 2001 From: Thomas antony <77287334+thomasantony12@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:26:17 +0530 Subject: [PATCH 5/7] Update introduction.md --- exercises/concept/lasagna/.docs/introduction.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exercises/concept/lasagna/.docs/introduction.md b/exercises/concept/lasagna/.docs/introduction.md index 71fb191d7..5866ec0ac 100644 --- a/exercises/concept/lasagna/.docs/introduction.md +++ b/exercises/concept/lasagna/.docs/introduction.md @@ -2,7 +2,7 @@ ## Basics -Java is a statically-typed language, which means that the type of a variable is known at compile-time. +Java is a statically typed language, which means that the type of a variable is known at compile-time. Assigning a value to a name is referred to as defining a variable. A variable is defined by explicitly specifying its type. From 385dabdb4cbe6a1a4fb68630db33adc82fab1208 Mon Sep 17 00:00:00 2001 From: Thomas antony <77287334+thomasantony12@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:33:08 +0530 Subject: [PATCH 6/7] Update instructions.md --- exercises/concept/annalyns-infiltration/.docs/instructions.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/concept/annalyns-infiltration/.docs/instructions.md b/exercises/concept/annalyns-infiltration/.docs/instructions.md index 4ae00ea14..406b7cd77 100644 --- a/exercises/concept/annalyns-infiltration/.docs/instructions.md +++ b/exercises/concept/annalyns-infiltration/.docs/instructions.md @@ -6,9 +6,9 @@ After some time spent following her best friend's trail, she finds the camp in w Having found the kidnappers, Annalyn considers which of the following actions she can engage in: -- Fast attack: a fast attack can be made if the knight is sleeping, as it takes time for him to get his armor on, so he will be vulnerable. +- Fast attack: a fast attack can be made if the knight is sleeping, as it takes time for him to get his armour on, so he will be vulnerable. - Spy: the group can be spied upon if at least one of them is awake. Otherwise, spying is a waste of time. -- Signal prisoner: the prisoner can be signalled using bird sounds if the prisoner is awake and the archer is sleeping, as archers are trained in bird signaling, so they could intercept the message. +- Signal prisoner: the prisoner can be signalled using bird sounds if the prisoner is awake and the archer is sleeping, as archers are trained in bird signalling, so they could intercept the message. - _Free prisoner_: Annalyn can try sneaking into the camp to free the prisoner. This is a risky thing to do and can only succeed in one of two ways: - If Annalyn has her pet dog with her she can rescue the prisoner if the archer is asleep. From 52014d4385d903c3118779d4adc977c274a004b3 Mon Sep 17 00:00:00 2001 From: Thomas antony <77287334+thomasantony12@users.noreply.github.com> Date: Mon, 3 Jun 2024 13:34:10 +0530 Subject: [PATCH 7/7] Update introduction.md --- exercises/concept/annalyns-infiltration/.docs/introduction.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/exercises/concept/annalyns-infiltration/.docs/introduction.md b/exercises/concept/annalyns-infiltration/.docs/introduction.md index 46597333e..9b5959fa8 100644 --- a/exercises/concept/annalyns-infiltration/.docs/introduction.md +++ b/exercises/concept/annalyns-infiltration/.docs/introduction.md @@ -2,13 +2,13 @@ ## Booleans -Booleans in Java are represented by the `boolean` type, which values can be either `true` or `false`. +Booleans in Java are represented by the `boolean` type, whose values can be either `true` or `false`. Java supports three boolean operators: - `!` (NOT): negates the boolean - `&&` (AND): takes two booleans and results in true if they're both true -- `||` (OR): results in true if any of the two booleans is true +- `||` (OR): results in true if any of the two booleans are true ### Examples