#include
#include
using namespace std;
int main()
{
float a,b,c;
double D,x1,x2;
cin>>a>>b>>c;
D = ((bb)-(4a*c)) ;
if(D>0)
{
cout<<"Roots are Real and Distinct"<<endl;
x1=(-b-sqrt(D))/(2*a);
x2=(-b+sqrt(D))/(2*a);
cout<<x1<<" "<<x2;
}
else if(D==0)
{
cout<<"Roots are Real and Identical"<<endl;
x1=(-b-sqrt(D))/(2*a);
cout<<x1<<" "<<x1;
}
else
{
cout<<"Roots are Imaginary"<<endl;
}
return 0;
}
output is correct but all testcases are showing wrong answer