Advertisement
Guest User

Untitled

a guest
Mar 29th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4. class Towar{
  5. private:
  6. string rodzaj;
  7. int ilosc;
  8. double cena;
  9. public:
  10. Towar (){
  11. rodzaj="jakis towar";
  12. Ilosc=0;
  13. cena=0;
  14. Towar(string rodzaj,int ilosc,double cena){
  15. this->rodzaj=rodzaj;
  16. this->ilosc=ilosc;
  17. this->cena=cena;
  18. }
  19. Towar(Towar &t){}
  20. string getRodzaj(){}
  21. int getilosc(){}
  22. double getCena(){}
  23. double ObliczWartoscTowaru(){}
  24. };
  25. main;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement