https://hack.codingblocks.com/practice/p/384/50
one test case is failing (last one)
#include
#include
using namespace std;
int main() {
int a,b,c;
cin>>a>>b>>c;
float k;
k=(bb-4ac);
float l=sqrt(k);
if(k<0){
cout<<“Imaginary”;
}
if(k==0){
cout<<“Real and Equal”<<endl;
float z=(-(b/(2a)));
cout<<z<<" “<<z;
}
else{
cout<<“Real and Distinct”<<endl;
int zz=((-b-l)/(2a));
int zz1=((-b+l)/(2a));
cout<<zz<<” "<<zz1;
}
return 0;
}