Advertisement
Guest User

Untitled

a guest
Dec 14th, 2013
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.65 KB | None | 0 0
  1. // Header ==> Function Declarations
  2.  
  3. #include <iostream>
  4. #include <string>
  5.  
  6. using namespace std;
  7.  
  8. #ifndef BMI_H
  9. #define BMI_H
  10.  
  11. class BMI {
  12. public:
  13.     //Defualt Constructor
  14.     BMI();
  15.  
  16.     //Overload Constructor
  17.     BMI(string, int, double);
  18.  
  19.     //Destructor
  20.     ~BMI();
  21.  
  22.     //Accessor Functions
  23.     string getName() const;
  24.         // getName - returns name of paitent
  25.  
  26.     int getHeight() const;
  27.         //getHeight - returns height of paitent
  28.  
  29.     double getWeight() const;
  30.         //getWeight returns weight of paitent
  31.  
  32.  
  33. private:
  34.     //Member Variables
  35.     string newName;
  36.     int newHeight;
  37.     double newWeight;
  38. };
  39.  
  40. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement