Skip to content

Commit 43a34cd

Browse files
committed
Correct UK dialing code and fix typo in the International Calling Connoisseur instructions
1 parent 235a13e commit 43a34cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exercises/concept/international-calling-connoisseur/.docs/instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,12 +63,12 @@ dialingCodes.addNewDialingCode(39, "Vatican City");
6363

6464
Its rare, but mistakes can be made.
6565
To correct the mistake, we will need to know what dialing code the country is currently mapped to.
66-
To find which dialing code needs to be corrected, implement the `findDialingCode` method that takes in a map of dialing codes an a country and returns the country's dialing code.
66+
To find which dialing code needs to be corrected, implement the `findDialingCode` method that takes in a map of dialing codes and a country and returns the country's dialing code.
6767
Return `null` if the country is _not_ in the map.
6868

6969
```java
7070
DialingCodes dialingCodes = new DialingCodes();
71-
dialingCodes.addDialingCode(43, "UK");
71+
dialingCodes.addDialingCode(44, "UK");
7272
dialingCodes.findDialingCode("UK");
7373
// => 44
7474

0 commit comments

Comments
 (0)