Hello I have to create a program that calculates a
salesperson’s commissions using double-precision values,
and displays the results. The commission rate in the first
method will be entered as a decimal value (for example, a
7.5% rate will be entered as 0.075).
A second method will be included that takes the same sales
value as the first method, but has the commission rate
entered as an integer (for example, 7 would be entered
for 7%.). This commission value is then divided by 100.0,
the sales figure is multiplied by the result of that calculation,
and the final result is displayed to the user.
These two methods will be saved as Commission.java, and
compiled as Commission.class.
Finally, you’ll add a third method to the previous program. This
method will use the same sales value as the previous methods,
but will calculate the commission based on afixed 7.5% rate.
The completed program with all three methods shall be saved
as Commission2.java and compiled as Commission2.class.
My attached file is what I have so far. I really want to understand java. Please help Commission.java