[백준/Java] 10926 : ??!

SEOP·2023년 4월 24일
0

import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        String a;

        a = scanner.next();

        System.out.println(a+"??!");
    }
}

OR

import java.io.*;

public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String str= br.readLine();

        BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
        bw.write(str);
        bw.append("??!");
        bw.flush();
        bw.close();
    }
}
profile
응애 나 애기 개발자

0개의 댓글