(1) Health application: Body mass index (BMI) is a measure of health based on weight. It can be calculated by taking your weight in kilograms and dividing it by the square of your height in meters.
BMI = weight in kg / height^2 in m
Write a program that prompts the user to enter a weight in pounds and height in inches and displays the BMI.
السؤال
Mohannad الجرجاوي
(1) Health application: Body mass index (BMI) is a measure of health based on weight. It can be calculated by taking your weight in kilograms and dividing it by the square of your height in meters.
BMI = weight in kg / height^2 in m
Write a program that prompts the user to enter a weight in pounds and height in inches and displays the BMI.
1 pound = 0.45359237 kilograms
1 inch = 0.0254 meters
1 جواب على هذا السؤال
Recommended Posts
انضم إلى النقاش
يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.