Problem in this question

3rd test case is not being passed

Hey @akshat2806
Can you post your code?

#include
using namespace std;

int main() {
int a,b,c;
cin>>a>>b>>c;
if(a>=-100 and a<=100 and b>=-100 and b<=100 and c>=-100 and c<=100){
int D = (bb)-(4ac);
if(D>0){
float r1=(-b-((b
b)-(4ac)))/2;
float r2=(-b+((bb)-(4ac)))/2;
cout<<“Real and Distinct”<<endl;;
cout<<r1<<" "<<r2<<endl;
}else if(D==0){
float r=(-b-((b
b)-(4ac)))/2;
cout<<“Real and Equal”<<endl;
cout<<r<<" "<<r<<endl;
}else if(D<0){
cout<<“Imaginary”<<endl;
}

}else{
cout<<“Enter valid input.”<<endl;
}
}

@akshat2806
Please post the link of coding blocks ide if possible

ma’am i have enabled collaborate mode

@akshat2806
roots will be
-b-sqrt(D)/(2a)
and
-b+sqrt(D)/(2
a)
you’ve written it wrong.