Advertisement
Bumler

Untitled

Oct 20th, 2019
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.28 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     int darab;
  8.     cin >> darab;
  9.     int i = 1;
  10.     int adatok[darab];
  11.     while (i<=darab){
  12.         cin >> adatok[i];
  13.         i++;
  14.     }
  15.     for (int j=1; j<=darab;j++)
  16.         cout << adatok[j];
  17.     return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement