/ Published in: C
Body Mass Index Solver
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
//Icd Dpt // This program calculates the Body Mass Index of a human body. It has been written in C. #include<stdlib.h> #include<stdio.h> #include<math.h> #define EXP 2 main(void) { float bmi, wei, hei; printf("*** This program calculates the Body Mass Index of a human body. Height should be entered in meters and weight in kgs *** \n"); bmi=wei/(hei); return 0; }
URL: bmi