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) {
//      System.out.println("setHeight() Called");
        height = newHeight;
    }   
    public double getBMI() {
//      System.out.println("getBMI() Called");
        return weight/(height*height);
    }
    
}