Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- using namespace std;
- class Czlowiek
- {
- public:
- string imie;
- string nazwisko;
- double wiek;
- double wzrost;
- void info()
- {
- cout<<imie <<nazwisko <<wiek <<wzrost;
- }
- Czlowiek(string = "Jan", string = "Kowalski",double = 19, double = 180);
- };
- int main()
- {
- Czlowiek c;
- c.info();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment