Advertisement
Guest User

Untitled

a guest
Mar 1st, 2015
222
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. package Parker;
  2. /**
  3. *
  4. * @author cody
  5. */
  6. public class Assigner
  7. {
  8.  
  9. private int priority;
  10. private int parkingSpot;
  11.  
  12.  
  13. public Assigner(int aPriority, int aParkingSpot)
  14. {
  15. priority = aPriority;
  16. parkingSpot = aParkingSpot;
  17. }
  18.  
  19.  
  20. public int setPriority()
  21. {
  22. if(boolean sslWork = false || boolean docs = false || boolean paid = false)
  23. priority = 0;
  24.  
  25. if(grade = 11)
  26. priority += 1;
  27.  
  28. else if(grade = 12)
  29. priority += 2;
  30.  
  31. //else if(info = "sports" || info = "siblings" || info = "clubs" )
  32. // priority += 3;
  33.  
  34. else priority = 0;
  35.  
  36.  
  37. }
  38.  
  39. public int setSpot()
  40. {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement