Given three integers a, b and c as triplets. The task is to check if it is possible to make right angled triangle or not.
The first line of input contains an integer T denoting the number of test cases. Then T test cases follow. Each test case contains three integers a, b and c.
For each test case, Print "Yes", if it is possible make right angled triangle else print "No".
3 4 5
2 5 8
If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.