fork download
  1. #include <iostream>
  2. #include <string>
  3. #include <iomanip>
  4. using namespace std;
  5.  
  6. int main() {
  7. const int Numbers = 7;
  8. int show [Numbers] = {1, 2, 3, 4, 5, 6, 7};
  9.  
  10. for (int i = 0; i < Numbers; i++) {
  11. cout << show[i] << " ";
  12. }
  13.  
  14.  
  15. return 0;
  16. }
  17.  
Success #stdin #stdout 0s 5324KB
stdin
1
2
3
4
4
5
67
8
9


stdout
1 2 3 4 5 6 7