Advertisement
Guest User

Untitled

a guest
Jun 12th, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. #include<iostream>
  2. #include<string>
  3. using namespace std;
  4.  
  5. class klient
  6. {
  7. private:
  8. string imie;
  9. string nazwisko;
  10. string ID_klient;
  11. public:
  12. void Wczytajklienta()
  13. {
  14. cout << "podaj imie" << endl;
  15. cin >> imie;
  16. cout << "podaj nazwisko" << endl;
  17. cin >> nazwisko;
  18. }
  19. void Wypiszklienta()
  20. {
  21. cout << "imie: " << imie << endl;
  22. cout << "nazwisko: " << nazwisko << endl;
  23. }
  24. };
  25.  
  26. int main()
  27. {
  28. system("pause");
  29. return 0;
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement