Design a modularized body mass index program

Assignment Help C/C++ Programming
Reference no: EM13806623

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.

Reference no: EM13806623

Questions Cloud

Competence and core competence of selected company : State what you believe is the distinctive competence and core competence of your selected company. Give an example of how the values and mission statement help to shape planning.  Also give some internal and external factors that may influence the ..
Procedures for the negotiation of a government contract : The FAR Part 15 provides the policies and procedures for the negotiation of a government contract. These guidelines protect both the government and the organization that submits a proposal for consideration, whether a competitive or other-than-com..
Use of social media online based problems : What is the probability that the person thinks that "Made in America" ads boost sales and uses social media online?
Production of sub-assemblies in lot sizes : Develop an MRP for Space Age Furniture Company using the information in the case including the production of sub-assemblies in lot sizes of 1,000.
Design a modularized body 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 Mas..
Create risk responses : Create risk responses (reduce probability, reduce impact, and respond) for each of the 15 risks you identified and assessed in the prior unit.
Case of supply chain management : Both the operations manager and the warehouse manager have been impressed with your argument in making a case of supply chain management and quality management within the company.
Changes in employment relationships : What changes in employment relationships are likely to occur as the population ages? Do you think increasing age diversity will create new challenges for managers? What types of challenges do you expect will be most profound?
An indication of our unconscious desires and conflicts : Consider a situation where a boyfriend consistently gets into fights with his girlfriend. Which of the following potential explanations is more PARSIMONIOUS?

Reviews

Write a Review

C/C++ Programming Questions & Answers

  C program to mips program

Convert the following C program to MIPS program. Assuming that i, j, k, f, are stored in registers $s0, $s1, $s2, $s3 already. The base address of arrays A and B are in registers $s4 and $s5, respectively. (30

  Implement a program for this machine

Implement a program for this machine - design a special ATM machine to be used by needy people.

  Bare in mind this is a program

Bare in mind this is a program with the audience being lawncare and landscaping people. So the events will generally be to know how often a client wants their lawn mowed.

  Show the contents of the id array

Show the contents of the id array after each union operation when you use the quick find algorithm (Program below) to solve the connectivity problem for the sequence 0-2, 1-4, 2-5, 3-6, 0-4, 6-0, and 1-3.

  Define two derived classes of the abstract class

Define two derived classes of the abstract class ShapeBase below. Your two classes will be called RightArrow and LeftArrow. These classes will draw arrows that point right and left,

  An expression whose value depends upon the evaluation

Give an example in C++ of an expression whose value depends upon the evaluation order. Show the orders that produce different values and the values they produce. Explain what side effect is the expression contains.

  Maze program

Maze program. In this assignment you will represent a maze with a binary tree. . The starting point is node N and the ending point is node Z.

  C assignment of curl library

C Assignment Curl library must be used To be done on linux, it should be compiled using the following command: gcc -Wall -ansi -pedantic NameOfFile.c -lncurses Please make sure it is commented with clarification Variable names in camel case

  Displays the number invoices-average invoice amount

Modify the code so it displays the number of invoices, the average invoice amount, and the average discount amount when the user ends the program. Then, test this change.

  To reverse the order of elements on a stack

Write a program in C++ to  reverse the order of elements on a stack S using two additional stacks using one additional stack

  Struct definition to represent the data of a person''s bank

Define a struct definition to represent the data of a person's bank account. There will be one string for the name, and two doubles for balance and interest rate. Declare two variables of this new type in the main function. Modify the values of each ..

  Create a program that reads in two integers

Create a program that reads in two integers and then has a pointer point to the first variable and then to the second variable.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd