[백준/Java] 2558 : A+B - 2

SEOP·2024년 6월 10일
0

import java.io.*;

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

        int firstInput = Integer.parseInt( br.readLine() );
        int secondInput = Integer.parseInt( br.readLine() );
        String result = String.valueOf(firstInput + secondInput);

        bw.write(result);
        bw.flush();
        bw.close();
    }
}
profile
응애 나 애기 개발자

0개의 댓글