Advertisement
Mihai_Preda

Untitled

Jan 7th, 2021
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.10 KB | None | 0 0
  1. int v[10];
  2. int x = 5;
  3.  
  4. v[x] = 2;
  5.  
  6. int n;
  7. cin >> n;
  8. for(int i = 0; i < n; i++)
  9.     cin >> v[i];
  10.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement