Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. if (unit_count > 12) {
  2. cost = (12 * 100) - ((unit_count - 12) * 10)
  3.  
  4. if (campus == "Y") {
  5. cost = cost + 1000 }
  6. } else {
  7. cost = 12 * 100
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement