0
can anyone tell me the right code please
2 Réponses
+ 2
Exacly, you have to change radians into degrees, after scanf add angle = angle * 3.1415 / 180
+ 1
Try changing the type of "angle" to float and for the scanner change it to scanf("%f", &angle).
The input of those functions is normally in radians and not in degrees..