11.16总结

1.
package cn.campsg.java.experiment;

public class PrintTable {

public static void main(String[] args) {
    int row = 0;
    while(row < 10){
        int colum = 0 ;
        while(colum<10){
            System.out.print("("+row+","+colum+")");
            colum++;
        }
        row++;
        System.out.println();
    }
}

}
2.
package cn.campsg.java;

import java.util.Scanner;

public class BankQuery {
public static void main(String[]args)
{
System.out.println(“请输入您的姓名: “);
Scanner s1 = new Scanner(System.in);
String name=s1.nextLine();
final float money=8888;
System.out.println(“尊敬的客户: “ +name);
System.out.println(“您的余额为: “ +money);

}

}