3rd test case is not being passed
Problem in this question
#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-((bb)-(4ac)))/2;
float r2=(-b+((bb)-(4ac)))/2;
cout<<“Real and Distinct”<<endl;;
cout<<r1<<" "<<r2<<endl;
}else if(D==0){
float r=(-b-((bb)-(4ac)))/2;
cout<<“Real and Equal”<<endl;
cout<<r<<" "<<r<<endl;
}else if(D<0){
cout<<“Imaginary”<<endl;
}
}else{
cout<<“Enter valid input.”<<endl;
}
}
ma’am i have enabled collaborate mode