Advertisement
Xetinom

Untitled

Dec 11th, 2017
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.18 KB | None | 0 0
  1. #include <iostream>
  2. #include <conio.h>
  3.  
  4. int main(){
  5.     int i;
  6.     int array_1[8] = {1, 2, 3, 4, 5, 6, 7, 8};
  7.     for (i=0;i<=7;i++){
  8.         cout<<array_1[i]<<" ";
  9.     }
  10.     cout<<endl;
  11.     getch();
  12. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement