Advertisement
Asteele920

Untitled

Jan 25th, 2020
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.15 KB | None | 0 0
  1. /**
  2. *Print the price of the ticket
  3. */
  4. Public void showPrice()
  5. {
  6.     System.out.PrintIn(“The price of the ticket is “ + price + “ cents.”);
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement