GNG 1106 Lecture 2: Lab 2
Document Summary
Program that takes the value of a positive integer, n, and prints out the total number of pythagorean triples, list of pythagorean triples in the form of (a, b, c) and the. Pythagorean triple with the largest value of c: input-output description. The user will enter a positive integer, n. the integer is considered as the input. By using the formula of (cid:1853)2+(cid:1854)2=(cid:1855)2, the program will compute to find the possible output. The following condition needs to be considered: (cid:1853)