Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

this is for intro to programing C so please write it simply so i can learn and understand how you did it please, additionaly may

this is for intro to programing C so please write it simply so i can learn and understand how you did it please, additionaly may you please use double instead of float please image text in transcribed
BMI 2. Write a program that calculates the user's body mass index (BMI) and categorizes it as underweight, normal, overweight, or obese, based on the following table from the United States Centers for Disease Control: (25 points) Weight Status Below 18.5 Underweight 18.5-24.9 Normal 25.0-29.9 Overweight 30.0 and above Obese To calculate BMI based on weight in pounds and height in inches, use this formula (rounded to tenths): 703 x weight(lb) BMI (height(in)) a) Write a BMI calculator function that accepts the weight and height as inputs and returns the BMI values. b) In another function, prompt the user to enter weight in pounds and height in inches. c) Use a function call to calculate BMI. d) Based on the BMI, determine the weight status and display the results (BMI and weight status). 1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Databases In Networked Information Systems 6th International Workshop Dnis 2010 Aizu Wakamatsu Japan March 2010 Proceedings Lncs 5999

Authors: Shinji Kikuchi ,Shelly Sachdeva ,Subhash Bhalla

2010th Edition

3642120377, 978-3642120374

More Books

Students also viewed these Databases questions

Question

1. Who should participate and how will participants be recruited?

Answered: 1 week ago