Problem 9: Find the only Pythagorean triplet, {a, b, c}, for which a + b + c = 1000.
import java.util.*;
import java.lang.*;
class Main
{
public static void main (String[] args) throws java.lang.Exception
{
int s = 1000;
for(int i =3; i