Computer Science, asked by bdiiya01, 1 year ago

Write an algorithm to check whether 3 numbers are Pythagorean Triplets

Answers

Answered by kamalmahipal
2
Here is your answer dear
_______________________
square of hypotonouse = square of Base+ square of perpendicular I. e

H²=B²+P²
_______________________
Hope this will help you and please mark as brainlist answer and follow for such more solutions.

bdiiya01: Thanks!
kamalmahipal: we please follow
Answered by hemanth2261
2
its very simple Pythagorean triplets are in the form of (2n,n^2+1,n^2-1) where n belongs to Natural numbers

bdiiya01: Thank you so much!
hemanth2261: hope this helps you
Similar questions