fork download
  1. #include <iostream>
  2.  
  3. int main() {
  4. int array[] = { 1, 3, 5, 7, 9, 2, 4, 6, 8, 0 };
  5. for(auto i : array) {
  6. std::cout << i << "\n";
  7. }
  8. return 0;
  9. }
Success #stdin #stdout 0s 3140KB
stdin
Standard input is empty
stdout
1
3
5
7
9
2
4
6
8
0