Contact: aviboots(AT)netvision.net.il
39,990 questions
51,935 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 */