九九

来源:互联网 发布:dnf武极一觉技能数据 编辑:程序博客网 时间:2024/04/27 14:07
public class test2 {
    public static void main (String args[ ]){    int x,y;    for(x=1;x<=9;x++) {    for(y=1;y<=x;y++)    System.out.print(x+"*"+y+"="+x*y+" ");    System.out.println("");    }    }}

 
原创粉丝点击