Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (unit_count > 12) {
- cost = (12 * 100) - ((unit_count - 12) * 10)
- if (campus == "Y") {
- cost = cost + 1000 }
- } else {
- cost = 12 * 100
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement