fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int numbers[3] ={10, 20, 30};
  6.  
  7. for (int i = 0; i < 3; i++) {
  8. cout << numbers[i] << " ";
  9. }
  10. return 0;
  11. }
Success #stdin #stdout 0.01s 5288KB
stdin
Standard input is empty
stdout
10 20 30