import java.util.Scanner; /* * 1~100사이의 값 * 숫자맞추기게임 */ public class Ex5 { public static void main(String[] args) { // TODO Auto-generated method stub int answer = (int) (Math.random()*100); int input = 0; int count =0; Scanner s = new Scanner(System.in); while(true) { count++; System.out.println("1과 100사이의 값을 입력하세요 : "); input = s.nextInt(); if(input==answer){ System.out.println("정답입니다."); Syste..