Advertisement
Guest User

Untitled

a guest
Apr 28th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. #include <iostream>
  2. #include <string>
  3.  
  4. using namespace std;
  5.  
  6. class Patient{
  7. private:
  8. string name;
  9. string addr;
  10. public:
  11. Patient(string n, string a) {name = n; addr = a;};
  12. void setName(string n) {name = n;};
  13. void setAddr(string a) {addr = a;};
  14. string getName() const {return name;};
  15. string getAddr() const {return addr;};
  16. };
  17.  
  18. class Procedure{
  19. private:
  20. string desc;
  21. double fee;
  22. public:
  23. Procedure(string d, double f) {desc = d; fee = f;};
  24. void setDesc(string d) {desc = d;};
  25. void setFee(double f) {fee = f;};
  26. string getDesc() const {return desc;};
  27. double getFee() const {return fee;};
  28. };
  29.  
  30. class Statement{
  31. private:
  32.  
  33. public:
  34.  
  35. };
  36.  
  37. int main(){
  38.  
  39. return 0;
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement