최대 공약수 찾기 : while Gcd.java import java.util.*; public class Gcd { public static void main(String[] args) { Scanner input = new Scanner(System.in); int a, b, c; System.out.print("두개의 정수를 입력하시오(큰수, 작은수)"); a=input.nextInt(); b=input.nextInt(); //사용자로부터 정수들이 입력되어 x와 y로 저장된 다음에, 최대 공약수를 계산하는 while 루프로 들어간다. // while 이 값이 화면에 출력된다. while(b!=0) { c=a%b; a=b; b=c; } System.out.println("최대 공약수는 : "+ a);..