Guest User

Untitled

a guest
Dec 30th, 2018
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. class Czlowiek
  6. {
  7. public:
  8. string imie;
  9. string nazwisko;
  10. double wiek;
  11. double wzrost;
  12. void info()
  13. {
  14. cout<<imie <<nazwisko <<wiek <<wzrost;
  15. }
  16. Czlowiek(string = "Jan", string = "Kowalski",double = 19, double = 180);
  17.  
  18. };
  19.  
  20.  
  21.  
  22. int main()
  23. {
  24. Czlowiek c;
  25. c.info();
  26. return 0;
  27. }
Advertisement
Add Comment
Please, Sign In to add comment