MapleStory Finger Point

๐Ÿƒ‍โ™‚๏ธBaekjoon/Java

[2588/JAVA] ๊ณฑ์…ˆ

HYEJU01 2021. 8. 31. 18:30
import java.util.Scanner;
public class Main{
    public static void main(String[] args){
        int a,b;
        Scanner sc = new Scanner(System.in);
        a = sc.nextInt();
        b = sc.nextInt();

        sc.close();
        System.out.println(a*(b%10));
        System.out.println(a*(b/10%10));
        System.out.println(a*(b/100));
        System.out.println(a*b);
}
}

์ž๋ฆฟ์ˆ˜ ๋นผ์˜ค๊ธฐ

๋‚˜๋จธ์ง€์—ฐ์‚ฐ์ž๋ž‘ ๋‚˜๋ˆ„๊ธฐ๋ฅผ ์ด์šฉํ•ด์„œ ํ•˜๋‚˜ํ•˜๋‚˜ ์ž๋ฆฟ์ˆ˜๋ฅผ ๋นผ์™€์„œ ์—ฐ์‚ฐํ•œ๋‹ค