//precision de flots #include #include using namespace std; int main() { //remplacez float par double float x = 1000. / 3.0; cout << "x = 1000./3. = " << setprecision(12) << x << endl; float y = x - 333.; cout << "y = x - 333. = " << setprecision(12) << y << endl; float z = 3 * y - 1.; cout << "z = 3*y -1. = " << setprecision(12) << z << endl; return 0; }