Advertisement
MUstar

IoT C++ 09/12 - Project1_account.h

Sep 12th, 2017
319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.31 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3. using namespace std;
  4.  
  5.  
  6. class BankAccount
  7. {
  8. private:
  9.     char name[40];
  10.     char acctnum[25];
  11.     double balance;
  12. public:
  13.     BankAccount(const char* client, const char *num, double bal = 0.0);
  14.     void show(void) const;
  15.     void deposit(double cash);
  16.     void withdraw(double cash);
  17. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement