import java.util.Scanner;public class practice2 { public static void main(String args[]) { System.out.println("xÁÂÇ¥,yÁÂÇ¥¸¦ ÀÔ·ÂÇϼ¼¿ä."); Scanner scanner = new Scanner(System.in); int num1 = scanner.nextInt(); int num2 = scanner.nextInt(); if((50<=num1) && (num1<=100) && (50<=num2) && (num2<=100)) { System.out.println("Á÷»ç°¢Çü ¾È¿¡ ÀÖ´Â Á¡ÀÔ´Ï´Ù."); } else System.out.println("Á÷»ç°¢Çü ¹Ù±ù¿¡ ÀÖ´Â Á¡ÀÔ´Ï´Ù."); scanner.close(); }}
|