nvm

...
Last edited on
Don't post homework questions
Programmers are good at spotting homework questions; most of us have done them ourselves. Those questions are for you to work out, so that you will learn from the experience. It is OK to ask for hints, but not for entire solutions.


Because I'm feeling nice, I'll give you a hint.
1
2
brown = red + 1
red = pink - 3   -> pink = red + 3

We can see that brown and pink change accordingly to red. Therefore, through changing the value of red, you can get brown and pink. Keep doing this until brown + red + pink equals to 10.
Last edited on
Topic archived. No new replies allowed.