Financial application: computing commissions

Write a method that computes the commission, using the
scheme in 4.8.2,

"Problem: Finding the Sales Amount."

The header of the method is as follows:

    public static
double computeCommission(double salesAmount)

Write a test program that displays the following table:

    SalesAmount     Commission

     10000            900.0

     15000           1500.0

     ...

     95000          11100.0

    100000          11700.0
Powered by