#include <iostream> #include <iomanip> using namespace std; int main() { double x = 0.0; while (x <= 1.0) { x += 0.1; cout << fixed << setprecision(10) << x << endl; } return 0; }
Standard input is empty
0.1000000000 0.2000000000 0.3000000000 0.4000000000 0.5000000000 0.6000000000 0.7000000000 0.8000000000 0.9000000000 1.0000000000 1.1000000000