Im been having a hard time with the string exercise (P1C5.1) I believe I am entering all the information correctly but when I run the code I receive error messages.
" 1. Under the first //TODO line, declare a string array with five elements called colors
2. Under the second //TODO line, fill the array colors with 5 elements. These elements should be the colors red, yellow, orange, green, blue.
3. Under the third //TODO line, replace the color green with emerald using the array index."
These are the instructions. If you can show me how it supposed to be entered it would be greatly appreciated.