Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- *reduce price by the given amount
- */
- Public void discount(int amount)
- {
- Price = price - amount;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement