Pythagoras Triplet - Testcase Problem

My code is not passing through second testcase. Where am I doing mistake?

@koshimagoyal97 please save your code on ide and upload in this thread so that we can work on it.

here is the link -
https://ide.codingblocks.com/s/65767

Your program doesn’t work for
Input : 6
Correct Answer : 8 10
Your Answer : -1

Hey Koshima, as you are not responding to this thread, I am marking your doubt as Resolved for now. Re-open it if required.

Please mark your doubts as resolved in your course’s “ Ask Doubt ” section, when your doubt is resolved.