0_0_39189789_16030.cpp: In function 'int main()':
0_0_39189789_16030.cpp:4:7: error: 'scanf' was not declared in this scope
4 | while(scanf("%d%d",&a,&b)!=EOF)
| ^~~~~
0_0_39189789_16030.cpp:4:28: error: 'EOF' was not declared in this scope
4 | while(scanf("%d%d",&a,&b)!=EOF)
| ^~~
0_0_39189789_16030.cpp:1:1: note: 'EOF' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
+++ |+#include <cstdio>
1 | int main()
0_0_39189789_16030.cpp:7:16: error: expected ';' before ')' token
7 | for(i=0,i<b,i++)
| ^
| ;
0_0_39189789_16030.cpp:12:1: error: 'printf' was not declared in this scope
12 | printf("%.2lf",sum);
| ^~~~~~
0_0_39189789_16030.cpp:12:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
0_0_39189789_16030.cpp:13:1: error: expected primary-expression before '}' token
13 | }
| ^
0_0_39189789_16030.cpp:12:21: error: expected ')' before '}' token
12 | printf("%.2lf",sum);
| ^
| )
13 | }
| ~
0_0_39189789_16030.cpp:7:4: note: to match this '('
7 | for(i=0,i<b,i++)
| ^
0_0_39189789_16030.cpp:13:1: error: expected primary-expression before '}' token
13 | }
| ^
|