Compile Error
/in/ex2.c: In function 'main': /in/ex2.c:23:19: error: format '%i' expects argument of type 'int', but argument 3 has type 'double' [-Werror=format=] printf("%.3f%i\n",result,result); ~^ %f /in/ex2.c:27:15: error: format '%d' expects argument of type 'int', but argument 2 has type 'double' [-Werror=format=] printf("%d\n",result); ~^ %f cc1: all warnings being treated as errors
Information
- Submit By
- Type
- Submission
- Homework
- Lab 6 Thu
- Language
- C
- Submit At
- 2024-06-27 20:23:37
- Judged At
- 2024-06-27 20:23:37
- Judged By
- Score
- 0
- Total Time
- 0ms
- Peak Memory
- 0 Bytes