#include #include
int main(){int a, b, c;double x1, x2, d; std::cin>>a>>b>>c; if ((b*b-4*a*c)>=0) { d = sqrt(b*b-4*a*c); std::cout<<"Your equation:\n"<<a<<"*x*x + ("<<b<<") + ("<<c<<") = 0\n\n"; x1 = (-b+d)/(2*a); x2 = (-b-d)/(2*a); std::cout<<"x1: "<<x1<<"\nx2: "<<x2; } else std::cout<<"No solution\n"; return 0;<br>}