Advertisement
Guest User

Untitled

a guest
Nov 1st, 2014
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.46 KB | None | 0 0
  1. #include "normalny.h"
  2.  
  3. using namespace std;
  4.  
  5. normalny::normalny(void)
  6. {
  7. licznik_limit=0; //nowy bankomat, wiec ma nowy limit od 0
  8. limit_bankomatu=10000; //jego limit to 10000
  9. }
  10.  
  11.  
  12. normalny::~normalny(void)
  13. {
  14. }
  15.  
  16. int normalny::wyswietl_saldo()
  17. {
  18.     cout<<"metoda normalny saldo to "<<saldo<<endl;
  19.     return saldo;
  20. }
  21.  
  22. int normalny::jaki_limit()
  23. {
  24.     cout<<"Licznik limit normalnego wynosi metoda normalny:"<<licznik_limit<<endl;
  25.     return licznik_limit;
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement