Professional Documents
Culture Documents
Hello World
Hello World
cout << "since it is 0, there is only one solution, which is: " << X1 <<
endl;
}
else {
cout << "Because the discriminant is
<< endl;
X1 = (-1 * varB + sqrt(disc)) / (2 *
if(X1 > 0)
cout << "The first solution is "
else {
cout << "The first solution is "
}