|
|
back to boardwhat is wrong // modify precision #include <iostream> #include<math.h> #include<limits> using namespace std; int main () { //typedef std::numeric_limits<double>dbl; double A; double B; cin>>A; B=sqrt(A); cout.setf(ios::fixed); cout.precision(4); cout<<fixed<<B<<endl; return 0; } |
|
|