|
|
вернуться в форумNote to the solution of the test number 3 Послано Alflex 25 фев 2011 21:49 The printing of the answer in C++ should be, e.g., in the form: cout << "Distance is " << setiosflags(std::ios_base::fixed) << setprecision(0) << 1000.0*sqrt(dist) << " km."; where dist is double value. You don't need to round off the answer with the help of some functions. |
|
|