Main.cc: In function 'int main()':
Main.cc:6:10: error: 'n' was not declared in this scope
cin>>n;
^
Main.cc:7:9: error: 'fz' was not declared in this scope
ans=fz*1.0/fm;
^
Main.cc:7:16: error: 'fm' was not declared in this scope
ans=fz*1.0/fm;
^
Main.cc:9:9: error: 't' was not declared in this scope
t=fz;
^
Main.cc:14:32: error: 'setprecision' was not declared in this scope
cout<fixed<<setprecision(4)<<ans<<endl;
^