Advertisement
Guest User

Untitled

a guest
Apr 20th, 2019
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1.  
  2.  
  3. #ifndef BANK_H_
  4. #define BANK_H_
  5.  
  6. #include <iostream>
  7.  
  8.  
  9. class bank
  10. {
  11. int accountNumber;
  12. double balance;
  13. char * owner;
  14. public:
  15. bank();
  16. void Bank(int param1, double param2);
  17. void withdraw(int param1);
  18. void deposit(int param1);
  19. int getAccountNumber();
  20. double getBalance();
  21. char * getOwner();
  22. bool setAccountNumber(int accountNumber);
  23. bool setBalance(double balanceNumber);
  24. bool setOwner(char * ownerName );
  25. ~bank();
  26.  
  27. };
  28.  
  29.  
  30.  
  31. #endif /* BANK_H_ */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement