Advertisement
Guest User

Untitled

a guest
Apr 25th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.40 KB | None | 0 0
  1.     int numer_1, numer_2;
  2.  
  3.     cout << "Ktora osobe chcialbys poddac przypisaniu?" << endl;
  4.     cin >> numer_1;
  5.     cout << "Ktora osoba ma byc wzorem?" << endl;
  6.     cin >> numer_2;
  7.  
  8.     numer_1 = numer_1 - 1;
  9.     numer_2 = numer_2 - 1;
  10.  
  11.     Osoba::Wypisz_dane(lista, numer_1);
  12.     system("pause");
  13.     system("cls");
  14.  
  15.     lista[numer_1] = lista[numer_2];
  16.  
  17.     Osoba::Wypisz_dane(lista, numer_1);
  18.     system("pause");
  19.     system("cls");
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement