package lectures.documentation.comments;
import util.annotations.WebDocuments;
@WebDocuments({"Lectures/DocumentationComments.pptx", "Lectures/DocumentationComments.pdf", "Videos/DocumentationComments.avi"})
public class CommentedAnotherBMISpreadsheet implements CommentedBMISpreadsheet{
double height; double h; double weight;
double bmi;
public double getHeight() {
return height;
}
public void setHeight(double newValue) {
height = newValue;
bmi = weight/(height*height);
}
public double getWeight() {
return weight;
}
public void setWeight(double newValue) {
weight = newValue;
bmi = weight/(height*height);
}
public double getBMI() {
return bmi;
}
}