fork(1) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. for (int i = 1; i <= 10; i++) {
  6. float x = i * 0.1;
  7. cout << x << endl;
  8. }
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0.01s 5280KB
stdin
Standard input is empty
stdout
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1