I NEED HELP QUICK! I do not know where to start or finish when fixing the errors in this code

Oct 1, 2015 at 6:39pm
Can someone please help me fix the errors of this code?

Fix the following code and use it to find the two roots for the quadratic equation
X2+ 10X- 11:
// Program UseFunctions demonstrates the use of library and
// user-defined functions.

#include <iostream>
#include <cmath>
using namespace std;

float Answer(float, float, float);

int main ()
{
cout << fixed << showpoint;

cout << Answer(______, ______, _______);
return 0;
}

float Answer(float one, float two, float three)
{
return ((- two + sqrt(pow(two, 2)
- (4.0 * one * three))) / (2.0 * one));
}
Oct 29, 2015 at 2:09am
closed account (48T7M4Gy)
All you have to do is fill in the 3 parameters in the line:
cout << Answer(______, ______, _______);
Topic archived. No new replies allowed.