📅  最后修改于: 2022-03-11 14:52:04.297000             🧑  作者: Mango
public class MultiplicationTable {
public static void main(String[] args) {
int num = 9, i = 1;
while(i <= 10)
{
System.out.printf("%d * %d = %d \n", num, i, num * i);
i++;
}
}
}