打印10 * 10的表格

记得给博主点点赞加加油噢!

public class PrintTable {
    //使用循环嵌套输出10*10的表格,每个表格内显示表格当前行列值
 
    public static void main(String[] args) {
        // TODO 自动生成的方法存根
         
        int row=0;
         
        while(row<10) {
             
            int column=0;
             
            while(column<10) {
                 
                System.out.print("("+row+","+column+")");
                column++;       
            }
             
            row++;
            System.out.println(" ");
        }
 
    }
 
}