// 99乘法表
public void print99(){
for (int x = 1; x <= 9; x++)
{
for (int y = 1; y <= x; y++)
{
System.out.print(y + "*" + x + "=" + y*x + "\t");
}
System.out.println();
}
}
// 比较是否相等
}
class DemoTest
{
public static void main(String[] args)
{
Demo d = new Demo();
d.print99();
}