Revising quadratic equation third test case fail

https://ide.codingblocks.com/s/47852 kindly debug my fault. tell me what wrong in this code?

Hey Neeraj, the output when D is less than zero is “imaginary”

yeah later i fix it
thanks sir