Pythagoras Triplet

Where am i making a mistake?https://ide.codingblocks.com/s/147037

@hp_tony_21 hey harsh patel you have to use a specific formula for the even and odd inputs if you have any problem with.this I will share the formula.

yes please tell me the formula. Thank you :smile: