+ 7
I was working on this clock and I need some help for the "hour" line.
For min and sec I made 360/60 (deg/sec) (deg/min) For hour I made 360/24 and i got 15. But if I replace the "6" from the code with "15" the result is not correct according to my clock. What do I need to do? https://code.sololearn.com/Wh3f30K3Nh5G/?ref=app
3 Respuestas
+ 1
I replaced the six with a 30 and now it works.
+ 4
I did that and now it seems to be correct. I made a mistake when I did 360/24.
It should have been 360/12
Thank you.
0
No Problem