Quadratic equation assignment

why test case 1 is failed

Hi, I think I already resolved your issue, you can still refer to the correct code here https://ide.codingblocks.com/s/51600