Programmers/[Java] Lv. 0

Programmers [Java] - Lv. 0 : 덧셈식 출력하기

Jelly-fish 2023. 11. 25. 17:23

 

 

 

 

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();

        System.out.println(a + " + " + b + " = " + (a+b));
    }
}