foo.cc:1:2: error: invalid preprocessing directive #inciude; did you mean #include?
1 | #inciude <iostream>
| ^~~~~~~
| include
foo.cc: In function 'int main()':
foo.cc:6:9: error: 'flout' was not declared in this scope; did you mean 'float'?
6 | flout sum;
| ^~~~~
| float
foo.cc:7:9: error: 'scanf' was not declared in this scope
7 | scanf("%d,%d,%d",&x,&y,&z);
| ^~~~~
foo.cc:8:9: error: 'sum' was not declared in this scope
8 | sum=x*99+y*99/2.0+z*0.55;
| ^~~
foo.cc:9:9: error: 'printf' was not declared in this scope
9 | printf("%.2f",sum);
| ^~~~~~
foo.cc:1:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
+++ |+#include <cstdio>
1 | #inciude <iostream>
[Hydro](https://hydro.ac)提供评测服务