Advertisement
Guest User

Untitled

a guest
Oct 21st, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.24 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3. #include <algorithm>
  4. using namespace std;
  5.  
  6. class Card {
  7.     public:
  8.         int number;
  9. };
  10.  
  11. int main(){
  12.     int n;
  13.     cin >> n;
  14.     Card x[100] = {0};
  15.     for(int i = 0; i < n; i++) x[i].number=i+1;
  16.    
  17.     return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement