The variable BMI is defined here as local to the method:
public double calculateBMI(double BMI)
Its value is never used in the method and could be removed like this:
public double...
Type: Posts; User: Norm
The variable BMI is defined here as local to the method:
public double calculateBMI(double BMI)
Its value is never used in the method and could be removed like this:
public double...
What are the values of the variables used in the computation: startingWeightKG, heightMeters and heightMeters?
Add a print statement first thing in the method that prints the values of those...