And also you can prefer not use NUM_VALS. You are using it as a constant integer so you can just write 4 at all the places. It won't be much of a diff in this program but may affect in long term
First did it when I was 14 while robotics class. Then just had been busy and experimenting myself because had to put more time on high school studies. So now it's the final month of high school, exams from Monday :D
j@ke
@anunaym14 well good luck on your exams man! i'm sure you'll crush it :P