Run id: 5024
Main.cc: In function 'int main()':
Main.cc:5:34: warning: format '%f' expects argument of type 'float*', but argument 2 has type 'double*' [-Wformat=]
scanf("%1f%1f%1f",&ch,&ma,&en);
^
Main.cc:5:34: warning: format '%f' expects argument of type 'float*', but argument 3 has type 'double*' [-Wformat=]
Main.cc:5:34: warning: format '%f' expects argument of type 'float*', but argument 4 has type 'double*' [-Wformat=]
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);
^