Computer Science, asked by loharsunita732, 7 months ago

write a program to input the value of three sides of a triangle and check if the triangle is right angled or not​

Answers

Answered by patelkapila1945
1

Answer:

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