C program Degree to Radians
How would you do this c program, I'm a beginner I'm just starting with C, and i can't figure out how to finish the middle part.
Complete the following C program that first reads a, b, c, where a and b are two degrees and c is increment. The program then generates a table of conversions from degrees to radians. Start degrees at a and increment by c until the degree is greater than b.
Recall that we say 180o is equal to π radian.
You can assume that π is 3.14.
#define PI 3.14
int a,b,c, degree;
/* Enter the start degree, end degree, and increment */
printf("Enter a b c : ");
scanf("%d %d %d", &a, &b, &c);
printf(" %d %f", i, i*3.14/180);
/* Exit program. */