Josif_tepe

Untitled

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