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