Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #ifndef BANKOMAT_H
- #define BANKOMAT_H
- #include<string>
- #include <iostream>
- class Bankomat
- {
- public:
- Bankomat();
- Bankomat(std::string PIN,int AccountNumberPLN,int AccountNumberEUR, float Euro= 0, float PLN = 0);
- ~Bankomat();
- bool CheckPIN(std::string PIN);
- void ChangePIN(std::string PIN);
- float GetEuroQuantity();
- float GetPLNQuantity();
- void WithdrawPLN(float PLN);
- void PayPLN(float PLN);
- void WithdrawEURO(float Euro);
- void PayEuro(float Euro);
- void ChangePLNToEuro(float PLN);
- void PrintPLN();
- void PrintEURO();
- void Print();
- void WithdrawEUROByPLN(float Euro);
- protected:
- private:
- std::string PIN;
- int AccountNumberPLN;
- int AccountNumberEURO;
- float Euro;
- float PLN;
- bool CorrectPIN;
- float ExchangeRate;
- };
- #endif // BANKOMAT_H
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement