write the html code to generate the following output : a2+ b2 = c2 + (ab)2
Attachments:
Answers
Answered by
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
Math,
5 months ago
English,
5 months ago
Social Sciences,
5 months ago
Chemistry,
10 months ago
Math,
10 months ago
Environmental Sciences,
1 year ago
Math,
1 year ago
Science,
1 year ago