@@ -0,0 +1,498 @@
+import java.util.Scanner; // initialize scanner%0Apublic class PythagoreanTriple%0A%7B%0Apublic static void main( String%5B%5D args )%0A%7B%0A%0Afor ( int a = 1; a %3C= 500; a++ )%0A%7B%0Afor ( int b = 1; b %3C= 500; b++ )%0A%7B%0Afor ( int c = 1; c %3C= 500; c++ )%0A%7B%0A%0Aif( (a * a) + (b * b) == (c * c) )%0A%7B%0ASystem.out.printf( %E2%80%9C%25d, %25d, %25d%E2%80%9D, a, b, c );%0ASystem.out.println();%0A%7D // end if%0A%7D // end 3rd loop inside of 2nd loop%0A%7D // end 2nd loop inside of first loop%0A%7D // end first loop%0A%0A%7D // end method main%0A%0A%7D // end class PythagoreanTriple%0A

Create PythagoreanTriple.java