Main.cc: In function 'int main()': Main.cc:6:23: error: 'c' was not declared in this scope printf("%.21f\n",(c+m+e)/3); ^ Main.cc:6:25: error: 'm' was not declared in this scope printf("%.21f\n",(c+m+e)/3); ^ Main.cc:6:27: error: 'e' was not declared in this scope printf("%.21f\n",(c+m+e)/3); ^