Design a modularized body mass index program

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

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 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 the following for the assignment:

RAPTOR file with the flowchart of  your working program.  Make sure you run it to make sure it is error free and does what it is supposed to do.

Use the generate dropdown to create example C++ code based on your working logical flow chart.   Also attached the code in a Microsoft Word file or a text file.

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

Reference no: EM13802713

Questions Cloud

Grouping of items for future discovery : Your Final Project for this course will be a virtual time capsule. A time capsule is a grouping of items for future discovery. For our purposes, we will imagine that our time capsule will be buried at the end of the course and opened 100 years lat..
Design an employee class : Design an Employee class that has fields for the following pieces of information: Employee Name and Employee Number
Think about different perspectives or perceptions : How does Trifles help us think about different perspectives or perceptions? Think about what the male/female characters in the play understand and perceive about the world around them--and consider what the men's and women's conversations and acti..
Design a class named pet : Pet Class- Design a class named Pet, which should have the following fields: Name - The name field holds the name of a pet
Design a modularized 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
Design a grade average program : Grade Average Program - Design a grade average program that will produce the numerical grade average of test scores input by a user
Per-foot downward pitch of a horizontally running drain : What is the minimum recommended per-foot downward pitch of a horizontally running drain, vent, or sewer line?
Different types of switching used in data transmission : Compare or contrast the different types of switching used in data transmission. How many are there? What factors separate one from the other? Please elaborate.
Design a calculator program : Design a calculator program that will add, subtract, multiply, or divide two numbers input by a user. Your program design should contain the following: The main menu of your program is to continue to prompt the user for an arithmetic choice until th..

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Calculate that implements a simple arithmetic calculator

Write a  C program  calc.c that implements a simple arithmetic calculator. Input to the calculator consists of lines composed of integer constants separated by the five arithmetic operators used in C: +, -, *, /, and %. For each line of input,

  C++ class that has a dynamic array of a string

show  an example of a C++ Class that has a dynamic array of a string that takes in names by user input??

  Describe exactly why an exhaustive key search

Describe exactly why an exhaustive key search will not succeed even though sufficient computational resources are available. This is a paradox since we know that the OTP is unconditionally secure.

  Boolean expressions with while loops

These questions explore using boolean expressions with while loops. If you get confused by the output as you work through these questions, you should review those pages in your textbook, with special attention to the operators &&, ||, and !

  Write a program that accepts two real numbers

Write a program that accepts two real numbers from a user and a select code. If the entered select code is 1, have the program add the two previously entered numbers and display the result

  Store the numbers in an array

You need to write a program that will read the file 'unumbers.dat', store the numbers in an array, and then prompt the user to search the list for a number.

  Program that calculates how much a person earns in a month

Write a program that calculates how much a person earns in a month if the salary is one penny the first day, two pennies the second day, four pennies the third day,

  State whether the following are valid switch statements

State whether the following are valid switch statements. If not, explain why. Assume that n and digit are int variables.

  You are to write a basic bank application

You are to write a basic bank application, in C++, that allows the user of the application to manually create, modify, and delete bank accounts. Before you write the application you will need to create a class called Account.

  Write a c function void print_triangle(int n)

Write a C function void print_triangle(int n) that prints a triangular pattern of asterisks of height n and width 2 * n + 1 with one asterisk in the first line, three in the second line, etc.,

  A constructor and a destructor

A constructor and a destructor, Insert a new element chosen by the user at the correct place in the list

  Design and implement a class called bus

Define the Bus constructor to accept and initialize all instance data. Include getter and setter methods for all instance data.

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