Question: Program 3: CoffeeTime Create a Java class named CoffeeTime.java. Employees at Coffee Time earn a basic hourly wage of $7.25 per hour. In addition, they
Program 3: CoffeeTime Create a Java class named CoffeeTime.java. Employees at Coffee Time earn a basic hourly wage of $7.25 per hour. In addition, they receive a commission based on how many sales they make while working. The commission is based on the following formula: 1. Sales $1.00 to $99.00 2 $100.00 Commission 5% of total sales 10% of total sales 2. Prompt the user for number of hours worked and the total sales. Then compute the wage (including commission) and output the result as shown in the sample output blow Enter the hours worked: 10 Enter the total sales: 25.0 Total pay is 73.75 Enter the hours worked: 31 Enter the total sales: 57.0 Total pay is 227.6 Enter the hours worked: 10 Enter the total sales: 25.0 Total pay is 73.75 Enter the hours worked: 10 Enter the total sales: 25.0 Total pay is 73.75
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
