Please help with homework.

Please help hint what to do. I have no idea how to fix these mistakes.

http://prntscr.com/bfp0d0
http://prntscr.com/bfp0fm
closed account (48T7M4Gy)
Make it easy for everybody and paste your complete code here using code tags <> from the menu on the right.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#include <iostream>
#include <stdlib.h>

using namespace std;

//module prototype
void calculatesBmi(&double weight, &double height);

//Global constant
Const double KILOGRAM = 0.453592

int main()
{
    //some variables
    double weight
    double height

    cout << "Hello, today we are going to be calculating your BMI" << endl;
    cout << "Please type in your weight" << endl;
    cin >> weight;
    cout << "You typed in " << weight << endl;
    cout << "Please type in your height"
    cin << height;
    cout << "You typed in " << height << endl;
    cout << "Please give us a second to calculate your BMI." endl;
    calculatesBmi(weight, height);

    system("Pause");
}


http://www.cplusplus.com/doc/tutorial/functions/
http://en.cppreference.com/w/cpp/keyword
Also, you forgot to add a semi-colon in several lines.
Line 23: Wrong operator.
Topic archived. No new replies allowed.