-
Notifications
You must be signed in to change notification settings - Fork 0
/
HealthProfile.h
74 lines (61 loc) · 1.32 KB
/
HealthProfile.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#include <string>
using namespace std;
class HealthProfile {
private:
string firstName;
string lastName;
string gender;
int day;
string month;
int year;
string date;
int height;
int weight;
public:
// constructor
HealthProfile(string, string, string, int, string, int, int, int);
// methods for firstName
void setFirstName(string);
string getFirstName();
void displayFirstName();
// methods for lastName
void setLastName(string);
string getLastName();
void displayLastName();
// methods for gender
void setGender(string);
string getGender();
void displayGender();
// methods for day
void setDay(int);
int getDay();
void displayDay();
// methods for month
void setMonth(string);
string getMonth();
void displayMonth();
// methods for year
void setYear(int);
int getYear();
void displayYear();
// methods for date
void setDate(int, string, int);
string getDate();
void displayDate();
// methods for height
void setHeight(int);
int getHeight();
void displayHeight();
// methods for weight
void setWeight(int);
int getWeight();
void displayWeight();
// methods for BMI
void displayBMI();
int getBMI();
// methods for heart rate
void displayHeartRate();
int getHeartRate();
void displayTargetHeartRate();
int getTargetHeartRate();
};