Advertisement
Guest User

Untitled

a guest
Jan 24th, 2020
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 0
  1. #ifndef BANKOMAT_H
  2. #define BANKOMAT_H
  3.  
  4. #include<string>
  5. #include <iostream>
  6.  
  7.  
  8. class Bankomat
  9. {
  10. public:
  11. Bankomat();
  12. Bankomat(std::string PIN,int AccountNumberPLN,int AccountNumberEUR, float Euro= 0, float PLN = 0);
  13. ~Bankomat();
  14. bool CheckPIN(std::string PIN);
  15. void ChangePIN(std::string PIN);
  16. float GetEuroQuantity();
  17. float GetPLNQuantity();
  18. void WithdrawPLN(float PLN);
  19. void PayPLN(float PLN);
  20. void WithdrawEURO(float Euro);
  21. void PayEuro(float Euro);
  22. void ChangePLNToEuro(float PLN);
  23. void PrintPLN();
  24. void PrintEURO();
  25. void Print();
  26. void WithdrawEUROByPLN(float Euro);
  27.  
  28. protected:
  29.  
  30. private:
  31. std::string PIN;
  32. int AccountNumberPLN;
  33. int AccountNumberEURO;
  34. float Euro;
  35. float PLN;
  36. bool CorrectPIN;
  37. float ExchangeRate;
  38.  
  39. };
  40.  
  41. #endif // BANKOMAT_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement