MUstar

IoT C++ 09/12 - Project1_account.h

Sep 12th, 2017
131
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. };
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×