Converting Degrees to Radians and vice-versa

By Fateh Singh.

About Program

This program is written in c for converting degrees to radians and vice-versa

Formula

To convert from radians to degrees we use:

  degrees = radians * 180.0/PI

To convert from degrees to radians we use:

  radians = degrees  * PI / 180.0

NOTE:  PI = 3.141593