Apr-25-2018, 02:18 PM
Please read the forum rules and use CODE TAGS around your code in the future.
The operators are shorthand:
Lewis
The operators are shorthand:
x += 5 is shorthand for x = x + 5
cents -= nickels * CENTS_IN_NICKEL is shortand for cents = cents - nickels * CENTS_IN_NICKEL
Lewis
To paraphrase: 'Throw out your dead' code. https://www.youtube.com/watch?v=grbSQ6O6kbs Forward to 1:00