0_0_17150689_15823.cpp: In function 'int main()': 0_0_17150689_15823.cpp:9:39: error: 'fabs' was not declared in this scope cout<<fixed<<setprecision(3)<<fabs(r)<<endl; ^