/* Answer to Problem #3 Spring 2011 */ #include #include using namespace std; int main() { int a, b, c; cout<<"Please enter three integers for a, b, and c? "; cin>>a>>b>>c; float disc; disc= b * b - 4*a*c; if (disc < 0) cout<<"There are no real roots\n"; else { float x1, x2; x1= (-b + sqrt(disc))/ (2 * a); x2= (-b - sqrt(disc))/ (2 * a); cout<<"root1= "<