82.7k views
3 votes
Sammy's rental price II program in Eclipse Java computes the rental cost as $40 per hour plus $1 for each additional minute. To fix the problem of charging $1 per extra minute:

a) Change the additional minute charge to $0.01.
b) Remove the additional minute charge.
c) Increase the hourly rate to $41.
d) Implement a fixed additional minute charge of $5.

User Elina
by
7.2k points

1 Answer

1 vote

Final answer:

The equation that expresses the total cost in terms of the number of hours required to complete the job is Total cost = ($32 per hour * Number of hours) + $31.50. The additional minute charge in Sammy's rental price II program can be changed to $0.01 to fix the problem of charging $1 per extra minute.

Step-by-step explanation:

The equation that expresses the total cost in terms of the number of hours required to complete the job is: Total cost = ($32 per hour * Number of hours) + $31.50.

This equation can be used to calculate the total cost for different numbers of hours. For example, if it takes 5 hours to complete a job, the total cost would be: ($32 * 5) + $31.50 = $176.50.

The additional minute charge in Sammy's rental price II program can be changed to $0.01 to fix the problem of charging $1 per extra minute.

User Wildcard
by
8.2k points