Right Angled Triangle Check
The length of the three sides of a triangle A, B and C are passed as the input. The program must check it it's a right angled triangle. Print YES or NO based on the check.
The first line contains A.
The second line contains B.
The third line
The first line contains YES or NO
1 <= A, B, C <= 9999
Example Input/Output 1:
Example Input/Output 2:
int main(int argc, char** argv)
Please do comment If u have any Queries!