Record Detail

Compile Error

/in/mySqrt.c: In function 'main':
/in/mySqrt.c:10:13: error: format '%f' expects argument of type 'float *', but argument 2 has type 'double *' [-Werror=format=]
     scanf("%f",&x);
            ~^  ~~
            %lf
cc1: all warnings being treated as errors

Information

Submit By
Type
Submission
Homework
Midterm Exam 2
Language
C
Submit At
2022-07-07 15:43:04
Judged At
2022-07-08 16:06:14
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes