diff --git a/exercises/resistor-color/README.md b/exercises/resistor-color/README.md index 2ca4765a2a..930bc12af5 100644 --- a/exercises/resistor-color/README.md +++ b/exercises/resistor-color/README.md @@ -15,6 +15,10 @@ These colors are encoded as follows: - Grey: 8 - White: 9 +The goal of this exercise is to create a way: +- to look up the numerical value associated with a particular color band +- to list the different band colors + Mnemonics map the colors to the numbers, that, when stored as an array, happen to map to their index in the array: Better Be Right Or Your Great Big Values Go Wrong. More information on the color encoding of resistors can be found in the [Electronic color code Wikipedia article](https://en.wikipedia.org/wiki/Electronic_color_code)