Posted by john on Saturday, October 31, 2009 at 5:38pm.
Pythagorean Triples.
A right triangle can have sides that are all integers. The set of three integer values for the sides of a right triangle is called a Pythagorean triple. These three sides must satisfy the relationship that the sum of the squares of two of the sides is equal to the square of the hypotenuse.
Find all Pythagorean triples for side1, side2, and the hypotenuse all no larger than 100 using a triplenested for loop that simply tries all possibilities (“bruteforce” computing).

C programming  jim, Saturday, October 31, 2009 at 6:45pm
Ok, so you need to test all a, b, c from 1 through 100 for a*a + b*b = c*c.
What point would you like help with?
Answer This Question
Related Questions
 math  The sides of a right angled triangle are x,x+1 and x+2.find x,Am not ...
 Algebra  Need help with these 21. Find the possible values of a, of the ...
 Mathematical Studies  A right triangle has three sides known to be (x5) (2x+1...
 tricky math  consider the right triangle with sides 3,4,5. Notice that the ...
 geometry  Use Pythagorean Theorem to determine which set of sides can be the ...
 math  the lengths of the three sides of a right triangle R have odd integer ...
 Math Help Please  1. Which set of numbers represents a Pythagorean triple? 6, 9...
 Math PLZZ  1. Which set of numbers represents a Pythagorean triple? 6, 9, 12 7...
 Pythagorean Theorem  7. The following are the lengths of the sides of four ...
 Maths (V. Hard)  Firstly calculate how many Pythagorean Triples there are that ...
More Related Questions