Advertisement
Guest User

Untitled

a guest
Dec 9th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.11 KB | None | 0 0
  1. if (books >= 3) {
  2. cost = 15.95;
  3. System.out.println("The total cost will be $" + (cost * books));
  4. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement