Skip to content

Commit 61c9272

Browse files
conditionals-if: remove TODO and fix typos (exercism#2044)
1 parent 9a56cce commit 61c9272

4 files changed

Lines changed: 3 additions & 7 deletions

File tree

concepts/conditionals-if/about.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ switch(val) {
5858
To learn more about this topic it is recommended to check these sources:
5959

6060
- [A refresh of Ternary operators][example-ternary]
61-
- [If/Else datailed with flowcharts][example-ifelse-flowcharts]
61+
- [If/Else detailed with flowcharts][example-ifelse-flowcharts]
6262
- [Switch examples][example-switch]
6363

6464
[logical-operators]: https://docs.oracle.com/javase/tutorial/java/nutsandbolts/op2.html

concepts/conditionals-if/introduction.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
# Introduction
22

3-
TODO: the content below is copied from the exercise introduction and probably needs rewriting to a proper concept introduction
4-
5-
## conditionals-if
6-
73
## Logical Operators
84

95
Java supports the three logical operators `&&` (AND), `||` (OR), and `!` (NOT).

exercises/concept/blackjack/.docs/hints.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The `parseCard` function should take the `card` string (e.g. `ace`) and turn it
1919
- Should use the `parseCard` function to get the value for each card.
2020
- Should sum up the values of the 2 cards.
2121
- Should return `true` if the sum is equal to `21`.
22-
- No aditional statement is needed here. The result for the comparison can be returned.
22+
- No additional statement is needed here. The result for the comparison can be returned.
2323

2424
## 3. Implement the decision logic for hand scores larger than 20 points.
2525

exercises/concept/blackjack/.docs/instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ The overall logic has already been implemented. You have four tasks:
4040

4141
## 1. Calculate the score of any given card.
4242

43-
Implement a function to calculate the numerical value of a card given its name using coditionals.
43+
Implement a function to calculate the numerical value of a card given its name using conditionals.
4444

4545
```java
4646
parseCard("ace")

0 commit comments

Comments
 (0)