C++ Conversion Not Working
<pre><code>#include &lt;iostream&gt;
using namespace std;
/*Use void functions, they perform some action but do not return a value*/

//Function Protoype, input,read in feet and inches:
void input (double&amp;  feet, double&amp; inches);
//Function Prototype, calculate, calculate with given formulae.
void calculate(double&amp; feet, double&amp; inches);
//Function Prototype, output, outputs calculations to screen.
void output (double meters, double centimeters);  

int main () 
{
    double feet;
    double inches;
    char repeat;

    do
    {
        //Call input:
        input(feet, inches);
        //Call calculate:
        calculate(feet, inches);
        //Call output:
        output (feet, inches);
        cout &lt;&lt; "\n";
        cout &lt;&lt; "Repeat? (Y/N): ";
        cin &gt;&gt; repeat;
        cout &lt;&lt; "\n";
    }
    while (repeat == 'Y' || repeat == 'y');
}

//Input function definition:
void input (double&amp;  feet, double&amp; inches)
{
    cout &lt;&lt; "Please enter the length in feet" &lt;&lt; endl;
    cin &gt;&gt; feet;

    cout &lt;&lt; "Please enter the length in inches" &lt;&lt; endl;
    cin &gt;&gt; inches;
}

//Calculate function definition, insert formulae here:
void calculate (double&amp; feet, double&amp; inches)
{

    feet = (feet * 0.3048);
     inches = (inches * 2.54);
}

//Output function definition:
void output (double meters, double centimeters)
{
    cout &lt;&lt; meters &lt;&lt; " meters &amp; " &lt;&lt; centimeters &lt;&lt; " cm's. " &lt;&lt; endl;
}
</code></pre>

<p>Why is my conversion not working?
Or what am I doing wrong?</p>

<p>Objective: Given a length in feet and inches I am suppose to output an equivalent length in meters and centimeters.</p>

<pre><code>//Calculate function definition, insert formula here:
void calculate (double&amp; feet, double&amp; inches)
{
     feet = (feet * 0.3048);
  inches = (inches * 2.54);
}
</code></pre>
