Li-Fan Chen says to YSITD#include <iostream> #include <math.h> using namespace std; int main() { int a,b,c; while(cin >> a >> b >> c){ int owo=sqrt(b*b-4*a*c); if(owo>0){ cout << "Two different roots x1="<<(-b+owo)/2*a<<" , x2=" <<(-b-owo)/2*a << endl; }else if(owo=0){ cout << "Two same roots x=" << -b/2*a << endl; }else if(owo<0){ cout << "No real root" << endl; } } return 0; }at Sat, Apr 23, 2016 10:28 AM