Pythagoreas triplet

only one test case is failing. I have all things correct. Please help me to find the error

please share your code through ide.codingblocks.com

@Amzad-Choudhary-353751958569219 in case n is even you should print a, c but you are printing b, c

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.