Advertisement
adwas33

Untitled

Jun 14th, 2022
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1.  
  2.  
  3. #ifndef CSPRZET_H
  4. #define CSPRZET_H
  5. #include <string>
  6.  
  7. using namespace std;
  8. class cSprzet {
  9. public:
  10. string &getNazwaSprzetu();
  11.  
  12. void setNazwaSprzetu( string &nazwaSprzetu);
  13.  
  14. double getCenaSprzetu();
  15.  
  16. void setCenaSprzetu(double cenaSprzetu);
  17.  
  18. int getWiekSprzetu();
  19.  
  20. void setWiekSprzetu(int wiekSprzetu);
  21.  
  22.  
  23. string nazwaSprzetu;
  24. double cenaSprzetu;
  25. int wiekSprzetu;
  26.  
  27. };
  28.  
  29.  
  30. #endif CSPRZET_H
  31.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement