getAdditionalCalorieNeedPerDay method
Implementation
double getAdditionalCalorieNeedPerDay() {
if (person.initialWeight < person.expectedWeight) {
return person.expectedWeightPerDay * 7700 / 7;
} else {
return 0;
}
}
double getAdditionalCalorieNeedPerDay() {
if (person.initialWeight < person.expectedWeight) {
return person.expectedWeightPerDay * 7700 / 7;
} else {
return 0;
}
}