#include "BMI.h" BMI::BMI(string n, double w, double h) { name = n; weight = w; height = h; } double BMI::getBMI() { return weight / (height*height); }