Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package Parker;
- /**
- *
- * @author cody
- */
- public class Assigner
- {
- private int priority;
- private int parkingSpot;
- public Assigner(int aPriority, int aParkingSpot)
- {
- priority = aPriority;
- parkingSpot = aParkingSpot;
- }
- public int setPriority()
- {
- if(boolean sslWork = false || boolean docs = false || boolean paid = false)
- priority = 0;
- if(grade = 11)
- priority += 1;
- else if(grade = 12)
- priority += 2;
- //else if(info = "sports" || info = "siblings" || info = "clubs" )
- // priority += 3;
- else priority = 0;
- }
- public int setSpot()
- {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement