Professional Documents
Culture Documents
BMICategory ESTANOCO
BMICategory ESTANOCO
Scanner;
// Fix this wrong computation for BMI (HINT: Use Math.pow where applicable)
BMI = mass / Math.pow(height, 2);
} else {
category = "Obese (Class III)";
}
}
}