Main.cc: In function 'int main()': Main.cc:7:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'double*' [-Wformat=] scanf("%d",&a,&b); ^ Main.cc:7:18: warning: too many arguments for format [-Wformat-extra-args] Main.cc:8:32: error: 'setprocision' was not declared in this scope cout<fixed<<setprocision(2)<<a/b<<endl; ^