inblog logo
|
stupefyee
    알고리즘문제풀기

    [JAVA 문제 풀이] 95. 덧셈식 출력하기

    프로그래머스 (181947)
    Stupefyee's avatar
    Stupefyee
    Feb 20, 2025
    [JAVA 문제 풀이] 95. 덧셈식 출력하기
    Contents
    내가 작성한 코드
    school.programmers.co.kr
    https://school.programmers.co.kr/learn/courses/30/lessons/181947
    notion image
     

    내가 작성한 코드

    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)); // System.out.printf("%d + %d = %d", a, b, a + b); sc.close(); } }
     
    Share article
    Contents
    내가 작성한 코드

    stupefyee

    RSS·Powered by Inblog