Advertisement
Guest User

Untitled

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