Pythagorean challenge

following is my code link :
https://ide.codingblocks.com/#/s/17031

I’m not getting where I’m getting wrong, please check…

Anushka the value of b in the while loop is going to its end and u are checking for the last value of b but u have to chack for all value of b so in the while loop after calculating the value of b check wheather the square are equal or not .
if any problem u can refer this code
https://ide.codingblocks.com/#/s/17073