Ask your own question, for FREE!
Computer Science 13 Online
OpenStudy (anonymous):

write a program that calculate the body mass index(BMI)

OpenStudy (anonymous):

#include <stdio.h> #define FEETTOMETER 0.3048 int main() { float weight, height, bmi; printf("Enter your weight(in kgs):"); scanf("%f", &weight); printf("Enter your height(in feet):"); scanf("%f", &height); height = height * FEETTOMETER; bmi = (weight)/(height * height); printf("Your Body Mass Index: %f\n", bmi); return 0; }

OpenStudy (anonymous):

I have assumed that you are using c language. Above program is written in c language

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!