fork download
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main() {
  6. int billy [] = {16, 2, 77, 40, 12071};
  7. int ctr;
  8. for ( ctr=0 ; ctr<5 ; ctr++ )
  9. {
  10. cout<<billy[ctr]<<endl;
  11. }
  12.  
  13. return 0;
  14.  
  15. }
Success #stdin #stdout 0.01s 2724KB
stdin
Standard input is empty
stdout
16
2
77
40
12071