![프로그래머스 Lv.0 덧셈식 출력하기](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2Fr5WP9%2Fbtsy3QCXBon%2FjxBine1eAJCI3GeQqQp7zK%2Fimg.png)
프로그래머스 Lv.0 덧셈식 출력하기개발자가 되기까지 (2023.08.16~2024.04.15)/[Algorithm] Programmers ver.Java2023. 10. 24. 00:10
Table of Contents
<Solution>
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(a +" + "+ b +" = "+sum);
}
}
728x90
@rlozlr :: 얼렁뚱땅 개발자
얼렁뚱땅 주니어 개발자
포스팅이 좋았다면 "좋아요❤️" 또는 "구독👍🏻" 해주세요!