Revising quadratic equaations

#include
#include
using namespace std;
int main(){
int a,b,c;
cin>>a;
cin>>b;
cin>>c;
int d=sqrt(bb-4ac);
int x=(-b+d)/2
a;
int y=(-b-d)/2*a;
if(d>0){
cout<<“real and distinct”<<endl;
if(x<y)
cout<<x<<" “<<y;
else
cout<<y<<” "<<x;

			}
		else if(d<0)
			{
		 	cout<<"imaginary roots";
		   }
		    	else
		    	{
		    		cout<<"roots are real and equal"<<endl;
		    		cout<<x;
				}
	}

what is the error in this code? why it is showing error

@tishya_goyal Please save your code at ide.codingblocks.com and then share its link.

@tishya_goyal You have to print in this format (Real and Equal , Real and Distinct , Imaginary) . Also when the roots are real and distinct, print the smaller root first and then the bigger root. Please check these printing formats.