Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- *Empties the machine.
- *Returns the total and then resets the total.
- */
- Public int emptyMachine();
- {
- Int resetTotal = total;
- Total = 0
- Return resetTotal;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement