Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Hello! I was wondering if somebody could help me with this assignment! Thanks! Use the following file: PrototypeTester.cpp #include #include #include #include checker.h using namespace

Hello! I was wondering if somebody could help me with this assignment! Thanks!

image text in transcribed

Use the following file:

PrototypeTester.cpp

#include  #include  #include  #include "checker.h" using namespace std; #include "pe04.h" int main() { // A. --------------------------------------------------------- int val = 35; cout 0 cout  1, b->"PE03-Complete" cout 2.5, sC->"PI" // D. --------------------------------------------------------- cout false, dE->3.0 cout  

image text in transcribed

Problem 1 - Function Declarations Write the prototypes for several function calls, deducing the correct signature from the context in PrototypeTester.cpp Do not implement the functions themselves. That is already done. Place the prototypes in pe04.h. Problem 2 - Write a Function Write a function named named bmiCalc() that accepts two input parameters of type double, representing a person's height and weight in that order). The function returns through the return statement) the user's BMI or Body Mass Index: BMI = weight / height2 * 703 Also return, via an integer output parameter, the BMI category as calculated here. BMI Category Class below 18.5 1 18.5-24.9 2 25.-29.9 3 30.0 and up 4 Here's and example, along with the expected output: int bmiClass; double bmi = bmiCalc(70.0, 194.25, bmiClass); cout 4 5 // PLACE YOUR PROTOTYPES BELOW THIS LINE 6 7 8 // PUT YOUR PROTOTYPES ABOVE THIS LINE #endif Submit

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application Development And Administration

Authors: Michael V. Mannino

4th Edition

0615231047, 978-0615231044

More Books

Students also viewed these Databases questions

Question

7. What is coaching? Is there only one type of coaching? Explain.

Answered: 1 week ago