알고리즘 - 백준, 1000, 2558, 10950번

jodbsgh·2022년 8월 25일
0

백준, 1000번

문제유형: 입출력

import java.util.Scanner;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
            
        int A = sc.nextInt();
        int B = sc.nextInt();
        if(0<A && B<10){
            System.out.println(A+B);
        } else {
            return;
        }
    }
}
profile
어제 보다는 내일을, 내일 보다는 오늘을 🚀

0개의 댓글