Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

You are the nutritional coach for a local high school football team. You realize

ID: 3639969 • Letter: Y

Question

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/Height2

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, as a Microsoft Word Document, the following for this assignment:

1. Flowchart
2. Pseudocode

Explanation / Answer

here is C++ code for it

Flowchart is kinda like this ....1) start ...2) call weight method..control goes to it ..it returns weight value ..3) same for height ..4) same for bmi ..5) call display function !



#include
using namespace std;

float h,w,bmi;

float height()
{
cout<<" Enter height of player(in inches):";
cin>>h;
return h;
}

float weight()
{
cout<<" Enter weight of player(in lb):";
cin>>w;
return w;
}

float bodymassindex(float h,float w)
{
bmi = (w*703)/(h*h);
return bmi;
}

float display(float bmi)
{
cout<<" Body mass index: "<}


int main()
{
w=weight();
h=height();
bmi=bodymassindex(h,w);
display(bmi);

return 0;
}

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote