Revising quadratic equation

test case 3 is not passing

@sk3657860 hey sonu can I see your implemenation.

#include
#include
using namespace std;
int main() {
int a,b,c;
cin>>a>>b>>c;
int d=bb-4ac;
if(d>0){
cout<<“Real and Distinct”<<endl;
cout<<((-b+sqrt(d))/2
a)<<" “<<((-b-sqrt(d))/2a)<<endl;
}
else if(d==0){
cout<<“Real and Equal”<<endl;
cout<<(-b/2
a)<<” "<<(-b/2*a)<<endl;
}
else{
cout<<“imaginary”<<endl;
}
return 0;
}

@sk3657860 hey sonu can you please share your code through ide.codingblocks.com