Question: Exercise 4:Design and implement a Java program for programming exercise 6.11, page 236 (name it ComputeCommiasiona), to print out a table of sales amounts and
Exercise 4:Design and implement a Java program for programming exercise 6.11, page 236 (name it ComputeCommiasiona), to print out a table of sales amounts and commissions as shown in the textbook Follow the instructions in the problem statement (the program takes no input from the user and all output is generated by the main method). Document your code and follow the output model shown in the textbook (Financial application: compute commissions) Write a method that computes commission, using the scheme in Programming Exercise 5.39. The header of the method is as follows: the 6.11 public static double computeCommission (double salesAmount) Write a test program that displays the following table: Sales Amount 10000 15000 Commission 900.0 1500.0 95000 100000 11100.0 11700.0 Please write this Java program as simple as possible and with comments throughout to explain what is happening. Thank you
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
