Unable to resolve this question

include
#include<math.h>
#include
using namespace std;
int main() {
float = r1,r2;
float a , b , c;
cin>>a>>b>>c;
float d;
float d1;
d = bb-4a*c ;
d1 = sqrt(d);

if(d == 0){
	cout<<"Real and Equal";
}
else if ( d > 0){
	cout<<"Real and Distinct";
}
else if ( d < 0){
	cout<<"Imaginary";
}
cout<<endl;


r1 = -b + sqrt(d1)/2*a;
r2=   -b - sqrt(d1)/2*a;

if(d > = 0){
	if(r1>r2){
		 cout<<r1<<" "<<r2;

	 }else{
		 cout<<r2<<""<<r1;
	 }

 }
 

return 0;

}

instead of double use int
because we don’t have to print ans in decimal

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.