src/main/java/seedu/address/model/calculator/CalorieBudget.java
/**
     * @param height of the person
     * @param weight of the person
     * @param age of the person
     * @return Basal Metabolic Rate in KCal
     */
@param height of the person
@param weight of the person
@param age of the person
@return Basal Metabolic Rate in KCal
@param height of the person @param weight of the person @param age of the person @return Basal Metabolic Rate in KCal
public static int calculateBasalMetabolic(Height height, Weight weight, int age) {
        requireAllNonNull(height, weight, age);
        double h = Integer.parseInt(height.value);
        double w = Integer.parseInt(weight.value);
        double bmr = (10 * w) + (6.25 * h) - (5 * age) + 5;
        return (int) bmr;
    }
public static int calculateBasalMetabolic ( Height height , Weight weight , int age ) { requireAllNonNull ( height , weight , age ) ; double h = Integer . parseInt ( height . value ) ; double w = Integer . parseInt ( weight . value ) ; double bmr = ( 10 * w ) + ( 6.25 * h ) - ( 5 * age ) + 5 ; return ( int ) bmr ; }
@param height of the person
 @param weight of the person
 @param age of the person
 @return Basal Metabolic Rate in KCal
@param height of the person @param weight of the person @param age of the person @return Basal Metabolic Rate in KCal