My code is not satisfying code all the cases plz see whaT IS THE MISTAKE

#include
#include
using namespace std;
int main()
{
int a,b,c;
cin>>a>>b>>c;
int d= pow(b,2)-(4ac);
if(d>0)
cout<<“Real and Distinct”<<endl;
else if(d==0)
cout<<“Real and Equal”<<endl;
else
cout<<“Imaginary”<<endl;
int r,s;
r=(-b+ sqrt(d))/(2.0a);
s=(-b- sqrt(d))/(2.0
a);
if(r>s)
cout<<s<<" “<<r<<endl;
else
cout<<r<<” "<<s<<endl;

}

@rakesh800650
Hello Devwrath,
pls save ur code here https://ide.codingblocks.com/ and share the generated link

Sir I don’t know how to share link plzz tell me steps to share u link

@rakesh800650
a)paste ur code here - https://ide.codingblocks.com/
b) press save button
c) then share generated link

image

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.