import java.util.Scanner; public class Baseball { public static void main(String[] args) { // 숫자야구를 만드세요. Scanner s = new Scanner(System.in); int n1 = (int) (Math.random() * 9) + 1; int n2 = (int) (Math.random() * 9) + 1; int n3 = (int) (Math.random() * 9) + 1; while (n1 == n2 || n2 == n3 || n1 == n3) { n1 = (int) (Math.random() * 9) + 1; n2 = (int) (Math.random() * 9) + 1; n3 = (int) (Math.rand..