Computer Science, asked by jyotikakkar31, 10 months ago

write the html code to generate the following output : a2+ b2 = c2 + (ab)2

Attachments:

Answers

Answered by amanbhandari501
1

Answer:

Explanation:

Input: N = 5

Output: 1

The only possible triplet pair is (3, 4, 5)

3^2 + 4^2 = 5^2 i.e. 9 + 16 = 25

Input: N = 10

Output: 2

(3, 4, 5) and (6, 8, 10) are the required triplet pairs.

Similar questions