Guest User

Untitled

a guest
Nov 18th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. const int N=5;
  2. vector<int>a(N);
  3.  
  4. for (int i=0;i<N;++i)
  5. {
  6. a.push_back(i+2);
  7. }
  8. for (int i:a)
  9. {
  10. cout<<i<<" ";
  11. }
Add Comment
Please, Sign In to add comment