public static double computeCommission(double salesAmount)
编写一个测试程序,显示下面表格:
销售总额 酬金
----------------------------------------
10000 900.0
15000 1500.0
......
95000 11100.0
100000 11700.0
6.11(Financial application: compute commissions)Write a method that computes the commission, using the scheme in Programming Exercise 5.39. The header of the method is a