homeworkmarket
chavisBody Mass Index Program
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*Height)
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.
- 10 years ago
- 7
Purchase the answer to view it
- bmicalculator.rap
- computer science
- Bus 375 Assignment 2 Strayer University
- Accounting for Jan V only
- Describe the use of radioactive tracers to detect and treat diseases
- master management project
- Organizational Design and Change Homework
- P1-4 The adjusted trial balance of Kokomo Furniture Company on November 30, the end of its
- A.) Using the direct method, calculate total costs for Department X and Department Y. B.) Use the information provided above. Using the step method, if Personnel Department costs are allocated first, calculate total costs for Dept. X and Dept. Y.
- CJA 364 Week 2 Individual Assignment Exclusionary Rule Evaluation
- QNT/351 University of Phoenix Material: Ballard Integrated Managed Services WEEK 3 CHART