package lectures.state_properties;
import util.annotations.WebDocuments;
@WebDocuments({"Lectures/StateProperties.pptx", "Lectures/StateProperties.pdf", "Videos/StateProperties.avi"})
public class ABMISpreadsheet {
double height;
double weight;
public ABMISpreadsheet() { }
public ABMISpreadsheet(
double theInitialHeight, double theInitialWeight) {
setHeight(theInitialHeight);
setWeight(theInitialWeight);
}
public double getWeight() {
return weight;
}
public void setWeight(double newWeight) {
weight = newWeight;
}
public double getHeight() {
return height;
}
public void setHeight(double newHeight) {
height = newHeight;
}
public double getBMI() {
return weight/(height*height);
}
}