Main.cc: In function 'int main()': Main.cc:31:32: error: 'setprecision' was not declared in this scope cout << fixed << setprecision(2) << b / n * 100.0 << '%' << endl; ^ Main.cc: At global scope: Main.cc:37:5: error: expected unqualified-id before 'return' return 0; ^ Main.cc:38:1: error: expected declaration before '}' token } ^