/** * Test the amazing GCD functions. */ public class TestGCD { public static void main(String[] args) { SimpleInput eyes = new SimpleInput(); SimpleOutput pen = new SimpleOutput(); pen.print("Enter an integer: "); long x = eyes.readInt(); pen.print("Enter another integer: "); long y = eyes.readInt(); pen.println("The gcd of " + x + " and " + y + " is " + ReallyHelpfulMathFunctions.gcd(x,y)); System.exit(0); } // main(String[]) } // class TestGCD