fork(1) download
  1. #include <iostream>
  2. #include <iomanip>
  3. using namespace std;
  4.  
  5. int main() {
  6. double x = 0.0;
  7.  
  8. while (x <= 1.0) {
  9. x += 0.1; // tutaj zmiana x (może być dowolny wzór)
  10. }
  11.  
  12. cout << fixed << setprecision(10) << x << endl;
  13. return 0;
  14. }
Success #stdin #stdout 0.01s 5292KB
stdin
Standard input is empty
stdout
1.1000000000