Computer Science, asked by ayushbisht097, 6 months ago

For every natural number m>1;2m,m²-1and m²+1 form a Pythagoras triplet. Write a program to input the value of'm' through console to display a Pythagoras triplet. Sample Input:3 . Then 2m=6,m²-1=8and m²+1=10. Thus 6,8,10 form a 'Pythagoras Triplet'.​

Answers

Answered by alisha099
0

Answer:

may the above pic will help you

Attachments:
Similar questions