what is error : incompatible type for argument of fprintf? [closed]

fprintf("Grade = %f", math_grade);

The fprintf function expects a FILE * as its first argument. This is why you're getting an error. If you want to output to the console, use printf instead.