Question: Writing a code that line by line prints another program. Could use some help trouble shooting the following code. If possible please post solution. Errors

 Writing a code that line by line prints another program. Could

Writing a code that line by line prints another program. Could use some help trouble shooting the following code. If possible please post solution. Errors are as follows:

Assignment1.c: In function main: Assignment1.c:21:8: warning: unknown escape sequence: '*' [enabled by default] printf("printf(*%6i %9.6f ",degrees,radians); "); ^ Assignment1.c:21:1: warning: format %i expects a matching int argument [-Wformat=] printf("printf(*%6i %9.6f ",degrees,radians); "); ^ Assignment1.c:21:1: warning: format %f expects a matching double argument [-Wformat=]

include #include #define PI 3.141593 int main printf("#include "); printf("#include ") printf("#define PI 3.141593 "); printf("int main In "); printf("int degrees 0 "); printf("double radiansIn"); printf("printf( "Degrees to radians\"):"): printf("for(degrees-0; degrees368; degrees+-10){ "); printf("radians -degrees*PI/180 "); printf("printf(\"%61 %9.6f\ \",degrees, radians); "); printf("n"); printf("return e; "); printf "j return 0

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!