Advertisement
Josif_tepe

Untitled

Mar 14th, 2021
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.33 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main()
  5. {
  6.     int niza[5];
  7.     niza[0] = 1;
  8.     niza[1] = 2;
  9.     niza[2] = 3;
  10.     niza[3] = 4;
  11.     niza[4] = 5;
  12.     cout << niza[0] << endl;
  13.     cout << niza[1] << endl;
  14.     cout << niza[2] << endl;
  15.     cout << niza[3] << endl;
  16.     cout << niza[4] << endl;
  17.     return 0;
  18. }
  19.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement