I was trying to make a basic timer. It looked okay in theroy but when I ran it the hours went up at the speed the milliseconds should have. Why is it doing this? Thanks.
= is the assignment operator. == is the comparison operator. So you need to change milliseconds = 10 to milliseconds == 10. Make a similar change on lines 32 and 37.
There are 1000 milliseconds in a second, not 10, so maybe something is named wrong?