Clocks and angles


is there any mistake in my code in the input way!!

No , input format is correct in your code .

Not familiar with C++ input fomat…
but you should add this…
if( z > 180) then z-=180;

1 Like