Microsoft interview question

Program an analog clock.

Interview Answer

Anonymous

Jun 28, 2019

I had done a similar project in school, so I gave compilation perfect code in C. Remember to clarify what behavior the clock should exhibit. I think they are looking to make sure you use Trig functions (sin & cos) to calculate the angle of the hour hand at mid hour intervals.