Advertisement
Leedwon

Untitled

Apr 10th, 2017
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.36 KB | None | 0 0
  1. // header do program 10-1
  2.  
  3.  
  4.  
  5. #ifndef HEADER1_H_
  6. #define HEADER1_H_
  7. #include <string>
  8. class bankAcc
  9. {
  10. private:
  11.     std::string Lname;
  12.     std::string Accnum;
  13.     double Accbalance;
  14. public:
  15.     bankAcc(const std::string & name, const std::string & numb, double var1 = 0.0);
  16.     void show() const;
  17.     void deposit(double var1);
  18.     void withdrawl(double var1);
  19. };
  20.  
  21. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement