목록비트연산자 (2)
기린의 기록을 위한 공간
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 ..