getBMR method
Implementation
double getBMR() {
if (person.sex == Sex.male) {
return calculateMaleBMR();
} else {
return calculateFemaleBMR();
}
}
double getBMR() {
if (person.sex == Sex.male) {
return calculateMaleBMR();
} else {
return calculateFemaleBMR();
}
}