Skip to content

Commit df2b48a

Browse files
committed
fix typos/grammar
1 parent e28da7b commit df2b48a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

exercises/practice/scrabble-score/.approaches/introduction.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Introduction
22

3-
There are various idiomatiuc ways to solve Scrabble Score.
4-
The approaches could be to use a series of `if` statements, or a single `switch` statment.
3+
There are various idiomatic ways to solve Scrabble Score.
4+
The approaches could be to use a series of `if` statements, or a single `switch` statement.
55
Another approach could be to look up the score in a `HashMap` from inside the `reduce()` method.
66

77
## General guidance

exercises/practice/scrabble-score/.approaches/switch-statement/content.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ because its value does not need to be changed once it is set.
5151
In the constructor, a local variable is defined for being updated in the [`for` loop][for-loop].
5252

5353
~~~~exercism/note
54-
Using the same for a variable in a nested local scope that is used in its enclosing higher scope is called
54+
Using the same name for a variable in a nested local scope that is used in its enclosing higher scope is called
5555
[variable shadowing](https://www.geeksforgeeks.org/shadowing-in-java/).
5656
~~~~
5757

0 commit comments

Comments
 (0)