Main.cc: In function ‘double f(double)’: Main.cc:10:2: error: expected ‘;’ before ‘}’ token } ^ Main.cc: In function ‘int main()’: Main.cc:17:6: error: expected ‘;’ before ‘z’ cin z; ^ Main.cc:17:7: warning: statement has no effect [-Wunused-value] cin z; ^ Main.cc:18:15: error: ‘setprecision’ was not declared in this scope cout<