1 2 3 4
|
void BMI(=,,=) {
// Please fill this blank???
return ???;
}
| |
Filling in the blank won't give you a program that compiles.
First of all, the argument list for the function needs to be populated. It looks like you are trying to call the function with pointers to 2 ints and 1 float. So you need to fill in the correct arguments and types inside the parentheses.
Also, you are not #including any headers. You need at least <iostream>. And cin and cout are in the std:: namespace, so you should be using std::cin/std::cout (preferably) or "using namespace std;".
Also, the call to BMI does not know what BMI() looks like, so you need to either define BMI before main(), or have a forward declaration of the function.
I have no idea how to calculate BMI, so I cannot help you fill in the blank.
Your function is declared as "void", meaning it does not return anything. Therefor, there is no need for a return statement, and if you have one, it certainly will not return a value.