C# 소스: // Filename: GeneratePythagoreanTriplesn.cs // // Compile: csc GeneratePythagoreanTriples.cs // // Execute: GeneratePythagoreanTriples 40 using System; using System.Collections.Generic; namespace GeneralCommandLineApp { class PythagorianTriple { Int64 a, b, c; public PythagorianTriple(Int64 x) { Int64 t; if (x >1 && x % 2 == 1) { this.a = x; this.b = (x*x - 1)/2;; this.c = this.b + 1;; } ..