Test Correction Question #28
Correction: Customers who use more than 25 unites of electricity are incorrectly charged by the code. These customers are charged only for the number of units above 25. For example, say a customer were to use 32 units of electricity, they should be charged a total of $174, $5 for the first 25 and $7 for the additional 7 units. This code segment would incorrectly charge the customer $49 for the 32 units.