can you please point out the mistake in my code which i submitted (latest one)
Quadratic question
x1 = x2;
cout<<"Real and Equal";
here was the error… it should be
x2 = x1;
cout<<"Real and Equal"<<endl;
u are assigning x1 to x2, while it should be x2 = x1… also endl was missing after printing Real and Equal…
corrected code -->
Its working fine and passing all test cases now…
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.