BackJoon Algorithm 2743 구구단
BackJoon Algorithm - Java
문제
풀이
import java.util.*;
public class Back_2739{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
int a=sc.nextInt();
for(int i=1;i<10;i++){
System.out.println(a+" * "+i+" = "+(a*i));
}
sc.close();
}
}
댓글남기기