Body Mass Index Program

SoccerBoss
Category:
Programming
Price: $5 USD

Question description

You are the nutritional coach for a local high school football team. You realize that some of the players are not up to par having returned from summer break. Realizing nutrition plays a key in a productive team, you decide to implement a Body Mass Index Program.

Design a modularized Body Mass Index (BMI) Program which will calculate the BMI of a team player. The formula to calculate the BMI is as follows: 

BMI = Weight *703/Height^2

Your program design should contain the following:

  • A method to obtain the weight of a player
  • A method to obtain the height of a player
  • A method to calculate the BMI of a player
  • A method to display the calculated BMI
  • A main method

You are to submit the following for the assignment:

  • Submit your C++ source code that you generated from RAPTOR with comments added to each line or where necessary to explain program flow.  Also submit the RAPTOR file (flowchart) of your working program.
  • Make sure you run it to make sure it is error free and does what it is supposed to.

You can use the generate dropdown to create example C++ code based on your working logical flow chart to see what the code would look like.

Remember to follow the guidelines of good program design. Make sure to use meaningful variable names and include comments as needed.



Tutor Answer

(Top Tutor) Daniel C.
(997)
School: UC Berkeley
PREMIUM TUTOR
Studypool has helped 1,244,100 students
Ask your homework questions. Receive quality answers!

Type your question here (or upload an image)

1819 tutors are online

Brown University





1271 Tutors

California Institute of Technology




2131 Tutors

Carnegie Mellon University




982 Tutors

Columbia University





1256 Tutors

Dartmouth University





2113 Tutors

Emory University





2279 Tutors

Harvard University





599 Tutors

Massachusetts Institute of Technology



2319 Tutors

New York University





1645 Tutors

Notre Dam University





1911 Tutors

Oklahoma University





2122 Tutors

Pennsylvania State University





932 Tutors

Princeton University





1211 Tutors

Stanford University





983 Tutors

University of California





1282 Tutors

Oxford University





123 Tutors

Yale University





2325 Tutors