passing two test cases but failing 1 https://ide.codingblocks.com/#/s/21946
Quadratic equations
Question says to print the roots if they exist. in case of imaginary roots, we say that roots doesn’t exist.
So basically remove the else case.
1 Like
Thanks bro . . Now it’s working perfectly.