Open adinata15 opened 3 years ago
Based on the code, resetPowerUsage() was calling the function once within Appliance class. Thus, the resetPower() should not be part of the loop, it was at a seperated place.
Team chose [response.Rejected
]
Reason for disagreement:
Eventhough esetPowerUsage() was calling the function resetPower() once, this happens for each of the appliances. Hence, should be inside the loop.
Is the resetPower function supposed to be inside of the loop also? Since every occurance of
resetPowerUsage()
callsresetPower()
.