No sweet without sweat

자바 [백준 10926] - Scanner, BufferedReader 으로 입출력 본문

백준

자바 [백준 10926] - Scanner, BufferedReader 으로 입출력

Remi 2023. 1. 1. 21:34
728x90
반응형
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;


public class Main {

    public static void main(String[] args) throws IOException {

        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

        String lastString = "??!";

        String name = br.readLine();

        System.out.println(name + lastString);


    }
}
728x90
반응형
Comments