Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- *Print the price of the ticket
- */
- Public void showPrice()
- {
- System.out.PrintIn(“The price of the ticket is “ + price + “ cents.”);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement