import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String a = sc.next(); int b = a.length(); for(int i = 0; i
import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String a = sc.next(); String b = sc.next(); System.out.println(a+b); } }
import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b = sc.nextInt(); int sum = a+b; System.out.println(a +" + "+ b +" = "+sum); } }
import java.util.Scanner; public class Solution { public static void main(String[] args) { // \는 \\를 써주어야 하고 // 짝이있는 '와 "는 \' \"으로 표시해주어야 단일로 사용가능 System.out.println("!@#$%^&*(\\'\"?:;"); } }
import java.util.Scanner; public class Solution { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String a = sc.next(); String answer = ""; for(char cha : a.toCharArray()) { if(Character.isLowerCase(cha)) { answer += Character.toUpperCase(cha); }else { answer += Character.toLowerCase(cha); } } System.out.println(answer); } }