Advertisement
Guest User

zebyCheciByly

a guest
Dec 13th, 2019
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. class samochod
  6. {
  7. public:
  8. samochod(void)
  9. {
  10. cout << endl;
  11. cout << " Buduje Twoj samochod..." << endl;
  12. cout << endl;
  13. }
  14. samochod (int cena)
  15. {
  16. cout << endl;
  17. cout << " Buduje Twoj samochod za konkretne pieniadze..." << endl;
  18. cout << " Za tyle: " << cena << " (tys. zl)" << endl;
  19. cout << endl;
  20. }
  21. };
  22.  
  23. int main(void)
  24. {
  25. //Samochod MojSamochod();
  26. //Samochod MojSamochod;
  27. Samochod MojSamochod(85);
  28.  
  29. return(0);
  30. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement