목록반복문 (3)
기린의 기록을 위한 공간
1061package com.algo.controller; import java.util.Scanner; public class Code{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); System.out.print("정수입력 : "); int a = sc.nextInt(); System.out.print("정수입력 : "); int b = sc.nextInt(); //비트연산자 or | System.out.print(a|b); }} 1062package com.algo.controller; import java.util.Scanner; public class Code{ public static void main(..
1041package com.algo.controller; import java.util.Scanner; public class Code{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); char word = sc.next().charAt(0); System.out.println((char)(word+1)); }} 1042import java.util.Scanner;import java.util.StringTokenizer; public class Code{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String nums ..
1022 import java.util.Scanner; public class Code{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String data = sc.nextLine(); System.out.println(data); } } 1023package com.algo.controller; import java.util.Scanner;import java.util.StringTokenizer; public class Code{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String num = sc.nextLine..