Test case failed


please solve my doubt

for input like
1 1 1
you are getting imaginary
correct ans :
Real and Equal
0 0

@shivanigupta.stp2015,
What doubt are you having in this?

Sir , please correct my code

here is your corrected code along with the comments


if this solves your doubt please mark it resolved :slight_smile: