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