[프로그래머스]덧셈식 출력하기

박예림·2023년 5월 25일
0

코테

목록 보기
86/132

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(String.valueOf(a)+" + "+String.valueOf(b) +" = "+ sum);
    }
}
profile
응애 나 아기개발자

0개의 댓글