Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. #include "stdafx.h"
  2. #include<iostream>
  3. #include<array>
  4. #include<cmath>
  5. #include<algorithm>
  6. using namespace std;
  7.  
  8.  
  9. int main()
  10. {
  11. int arraySize;
  12. cin >> arraySize;
  13.  
  14. int ages[arraySize];
  15. for (int i = 0; i < arraySize; i++)
  16. {
  17. cin >> ages[i];
  18. cout << ages[i] << endl;
  19. }
  20.  
  21. return 0;
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement