Skip to content

Commit

Permalink
Change resister colors in description to lowercase to match spelling …
Browse files Browse the repository at this point in the history
…in the problem data (#2462)
  • Loading branch information
IsaacG authored Jul 10, 2024
1 parent 6c44c83 commit 9c864c4
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 30 deletions.
20 changes: 10 additions & 10 deletions exercises/resistor-color-duo/description.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,16 @@ 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, and
Expand Down
20 changes: 10 additions & 10 deletions exercises/resistor-color-trio/description.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ For this exercise, you need to know only three things about them:
The program will take 3 colors as input, and outputs the correct value, in ohms.
The color bands 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

In Resistor Color Duo you decoded the first two colors.
For instance: orange-orange got the main value `33`.
Expand Down
20 changes: 10 additions & 10 deletions exercises/resistor-color/description.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,16 @@ In this exercise you are going to create a helpful program so that you don't hav

These 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

The goal of this exercise is to create a way:

Expand Down

0 comments on commit 9c864c4

Please sign in to comment.