Contact: aviboots(AT)netvision.net.il
40,866 questions
53,271 answers
573 users
#include <iostream> float BMI(float weight, float height) { return weight / (height * height); } int main() { float weight = 100.00; // kg float height = 1.95; // meter float bmi = BMI(weight, height); std::cout << bmi; } /* run: 26.2985 */