Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- #include<string>
- using namespace std;
- class klient
- {
- private:
- string imie;
- string nazwisko;
- string ID_klient;
- public:
- void Wczytajklienta()
- {
- cout << "podaj imie" << endl;
- cin >> imie;
- cout << "podaj nazwisko" << endl;
- cin >> nazwisko;
- }
- void Wypiszklienta()
- {
- cout << "imie: " << imie << endl;
- cout << "nazwisko: " << nazwisko << endl;
- }
- };
- int main()
- {
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement