Ok, quick question, on this line of code:
Why are there & symbols? Same goes for the prototype line.Code:void inputTwoNumbers(float& x, float& y)
Also, I assume you are passing the x and y by reference down to the inputTwoNumbers function. Otherwise how would the values of x and y in the add and subtract functions be getting set. Is that correct?