Body Mass Index (BMI) is a measure of health on weight. It can be calculated by taking
Question:
Body Mass Index (BMI) is a measure of health on weight. It can be calculated by taking your weight in kilograms and dividing by the square of your height in meters. Write a program that prompts the user to enter a weight in pounds and height in inches and displays the BMI. Note that one pound is 0.45359237 kilograms and one inch is 0.0254 meters. Here is a sample run:
Enter weight in pounds: 95.5
Enter height in inches: 50
BMI is 26.8573
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Answer rating: 66% (15 reviews)
Output Enter weight in pounds 955 Enter height in inches 50 BMI ...View the full answer
Answered By
Akshay Singla
as a qualified engineering expert i am able to offer you my extensive knowledge with real solutions in regards to planning and practices in this field. i am able to assist you from the beginning of your projects, quizzes, exams, reports, etc. i provide detailed and accurate solutions.
i have solved many difficult problems and their results are extremely good and satisfactory.
i am an expert who can provide assistance in task of all topics from basic level to advance research level. i am working as a part time lecturer at university level in renowned institute. i usually design the coursework in my specified topics. i have an experience of more than 5 years in research.
i have been awarded with the state awards in doing research in the fields of science and technology.
recently i have built the prototype of a plane which is carefully made after analyzing all the laws and principles involved in flying and its function.
1. bachelor of technology in mechanical engineering from indian institute of technology (iit)
2. award of excellence in completing course in autocad, engineering drawing, report writing, etc
4.70+
48+ Reviews
56+ Question Solved
Related Book For
Introduction to Java Programming, Comprehensive Version
ISBN: 978-0133761313
10th Edition
Authors: Y. Daniel Liang
Question Posted:
Students also viewed these Computer science questions
-
Create a VB application that lets the user enter his or her weight (in pounds) and height (in inches). If the user fails to enter numeric values, display an appropriate error message and do not...
-
Write a server for a client. The client sends the weight and height for a person to the server (see Figure 31.18a). The server computes BMI (Body Mass Index) and sends back to the client a string...
-
Prepare a program flowchart to help Melanie program this process. Melanie is doing a study on various weight-loss plans and needs to determine an individual's weight status by calculating his body...
-
Scandinavo Ltd. is a CCPC that began operations on January 1, 2020 when it was first incorporated and a calendar fiscal period was chosen. Scandinavo Ltd. Is not associated with any other...
-
Figure 8 shows the estimated number N of Internet users in Chile, based on data from the United Nations Statistics Division. (a) Estimate the rate of change of N at t = 2003.5. (b) Does the rate of...
-
State if the triangles in each pair are similar. If so, state how you know they are similar. AHGFAUVW F 24 U 45 55 V 44 36 G 30 H W
-
One critical-thinking skill is a heightened awareness of the danger of reaching a conclusion prior to acquiring missing information that were it known would have a reasonable probability of altering...
-
Stephen Bosworth, a super salesman contemplating retirement on his fifty-fifth birthday, decides to create a fund on an 8% basis that will enable him to withdraw $25,000 per year on June 30,...
-
K 1 A waffle recipe that serves 7 calls for 1 cups of flour. How many cups of flour will be needed if the chef must serve 28 people? 10- The chef needs cups of flour. (Type an integer or a simplified...
-
A binary classification model is tested on 1000 data points, of which it predicts 200 belonging to the positive class and 750 are predicted correctly as the negative class. Out of 1000, if actually...
-
Suppose you save $100 each month into a savings account with the annual interest rate 5%. Thus, the monthly interest rate is 0.05/12 = 0.00417. After the first month, the value in the account becomes...
-
Write a program that prompts the user to enter two points (x1, y1) and (x2, y2) and displays their distance between them. The formula for computing the distance is (x 2 - x 1 ) 2 + (y 2 - y 1 ) 2 ....
-
For the space truss elements shown in Figures P3-36 and P3-37, the global displacements at node 1 have been determined to be u1 = 0.1 in., v1 = 0.2 in., and w1 = 0.25 in. Determine the displacement...
-
6. Stock in Rylie Corporation is held equally by Emily, Louise, and John. Rylie seeks additional capital to buy a valuable tract of land that will cost $6,000,000. Emily, Louise, and John propose to...
-
Cheryl provided a personal loan $27,500 to her friend Ned $27,500 three years ago. Ned signed a note and made small payments on the personal loan. Last year, when the remaining balance was $20,750,...
-
Suppose two companies emit a particular pollutant. The marginal cost of reducing business pollution 1 is MC1 = 400q1 while the corresponding marginal cost for business 2 is MC2 = 100q2 (where 1 q and...
-
1. Why does Sweden have a trade surplus and why does Canada have a trade deficit? 2. Compare the GDP of both countries, and lastly, explain what economic changes you would propose to fix the trade...
-
On a busy day just before April 15, Albert Accountant received a call from a local car dealer. The dealer said, "Hi, Mr. Accountant. Now, while you have income from doing clients' taxes, I have an...
-
The income statement of Hanalei International Inc. contained the following condensed information: Hanalei's balance sheet contained the following comparative data at December 31: Additional...
-
SBS Company have received a contract to supply its product to a Health Care Service Hospital. The sales involve supplying 1,250 units every quarter, the sales price is RM 85 per unit. The Client...
-
A regular polygon is an n-sided polygon in which all sides are of the same length and all angles have the same degree (i.e., the polygon is both equilateral and equiangular). The formula for...
-
Write a program that prompts the user to enter the length from the center of a pentagon to a vertex and computes the area of the pentagon, as shown in the following figure. The formula for computing...
-
Write a program that prompts the user to enter a point (x, y) and checks whether the point is within the rectangle centered at (0, 0) with width 10 and height 5. For example, (2, 2) is inside the...
-
The controller for Tulsa Medical Supply Company has established the following activity cost pools and cost drivers. Machine setups Budgeted Overhead Cost Cost Driver Number of setups Weight of raw...
-
In 2023, Miranda records net earnings from self-employment of $168,500. She has no other income. Determine the amount of Miranda's self-employment tax and her AGI income tax deduction. In your...
-
Describe how empowerment, work groups, and multifunctional teams would or would not affect the five types of problems.
Study smarter with the SolutionInn App