1091 Scanner Input = new Scanner(System.in); String Str = Input.nextLine(); StringTokenizer Tk = new StringTokenizer(Str, " "); int[] Arr = new int[4]; int i = 0; while(Tk.hasMoreTokens()){ Arr[i++] = Integer.parseInt(Tk.nextToken()); } if((Arr[0] >= -50 && Arr[0] = -50 && Arr[1] = -50 && Arr[2]
1042 //1042번 문제 Scanner Input = new Scanner(System.in); String Str = Input.nextLine(); StringTokenizer St = new StringTokenizer(Str, " "); String[] Arr = new String[2]; int i = 0; while(St.hasMoreTokens()){ Arr[i++] = St.nextToken(); } int a = Integer.parseInt(Arr[0]); int b = Integer.parseInt(Arr[1]); int result = a / b; System.out.printf("%d", result); 1043 //1043번 문제 Scanner Input = new Scann..
1021 //1021번 문제 Scanner Input = new Scanner(System.in); char[] data = Input.next().toCharArray(); System.out.print(data); 1022 //1022번 문제 Scanner Input = new Scanner(System.in); char[] data = Input.nextLine().toCharArray(); System.out.print(data); 1023 //1023번 문제 Scanner Input = new Scanner(System.in); String[] str = Input.nextLine().split("\\."); int x = Integer.parseInt(str[0]); int y = Intege..
1001 System.out.print("Hello"); 1002 System.out.print("Hello World"); 1003 System.out.printf("Hello%nWorld"); 1004 System.out.printf("\'Hello\'"); 1005 System.out.printf("\"Hello World\""); 1006 System.out.printf("\"!@#$%%^&*()\""); 1007 System.out.printf("\"C:\\Download\\hello.cpp\""); 1008 System.out.printf("\u250C\u252C\u2510"); System.out.println(); System.out.printf("\u251C\u253C\u2..