Record Detail

Compile Error

/in/mySqrt.c: In function 'main':
/in/mySqrt.c:7:10: error: format '%f' expects argument of type 'float *', but argument 2 has type 'double *' [-Werror=format=]
  scanf("%f",&a);
         ~^  ~~
         %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:37:42
Judged At
2022-07-08 16:06:04
Judged By
Score
0
Total Time
0ms
Peak Memory
0 Bytes