fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int n = 5;
  6.  
  7. while (n--) cout << n << endl;
  8. }
Success #stdin #stdout 0s 15240KB
stdin
Standard input is empty
stdout
4
3
2
1
0