Math, asked by TVD, 3 months ago

write a program to input 3 sides of a triangle and tell wheather it's is a right angle triangle or not​

Answers

Answered by bharatpatadia74
1

Answer:

Given three integers a, b and c as triplets. Check if it is possible to make right angled triangle or not. Print Yes if possible, else No. 10-18 <= a, b, c <= 1018

Examples:

Input: 3 4 5 Output: Yes Explanation: Since 3*3 + 4*4 = 5*5 Hence print "Yes" Input: 8 5 13 Since 8 + 5 < 13 which violates the property of triangle. Hence print "No

Similar questions