Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Header ==> Function Declarations
- #include <iostream>
- #include <string>
- using namespace std;
- #ifndef BMI_H
- #define BMI_H
- class BMI {
- public:
- //Defualt Constructor
- BMI();
- //Overload Constructor
- BMI(string, int, double);
- //Destructor
- ~BMI();
- //Accessor Functions
- string getName() const;
- // getName - returns name of paitent
- int getHeight() const;
- //getHeight - returns height of paitent
- double getWeight() const;
- //getWeight returns weight of paitent
- private:
- //Member Variables
- string newName;
- int newHeight;
- double newWeight;
- };
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement