백준 25581 [백준/JAVA] 2558번 곱셈 import java.util.Scanner; public class Main {public static void main(String args[]) {Scanner in = new Scanner(System.in);int input1 = in.nextInt();int input2 = in.nextInt();int result1, result2, result3,result4;result1 = input1 * (input2%10);result2 = input1 * (input2/10%10);result3 = input1 * (input2/100);result4 = input1 * input2;System.out.println(result1);System.out.println(result2);System.o.. 2020. 7. 20. 이전 1 다음