Skip to content

Commit

Permalink
Sync the resistor-color-duo exercise's docs with the latest data.
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikSchierboom committed Jul 11, 2024
1 parent 1036ea1 commit 0eb5ee2
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions exercises/practice/resistor-color-duo/.docs/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@ The program will take color names as input and output a two digit number, even i

The band colors are encoded as follows:

- Black: 0
- Brown: 1
- Red: 2
- Orange: 3
- Yellow: 4
- Green: 5
- Blue: 6
- Violet: 7
- Grey: 8
- White: 9
- black: 0
- brown: 1
- red: 2
- orange: 3
- yellow: 4
- green: 5
- blue: 6
- violet: 7
- grey: 8
- white: 9

From the example above:
brown-green should return 15
brown-green should return 15, and
brown-green-violet should return 15 too, ignoring the third color.

0 comments on commit 0eb5ee2

Please sign in to comment.