Main.cc:1:1: error: ‘nclude’ does not name a type
nclude
^~~~~~
Main.cc: In function ‘int main()’:
Main.cc:2:53: error: ‘cin’ was not declared in this scope
using namespace std; int main() { double a, b, c=0; cin>>a; for(int i=1;i<=a;i++) {
^~~
Main.cc:2:53: note: suggested alternative: ‘main’
using namespace std; int main() { double a, b, c=0; cin>>a; for(int i=1;i<=a;i++) {
^~~
main
Main.cc:5:3: error: ‘printf’ was not declared in this scope
} printf("%.2f", c/a); return 0; }
^~~~~~
Main.cc:5:3: note: suggested alternative: ‘int’
} printf("%.2f", c/a); return 0; }
^~~~~~
int