Example #1
0
 public static bool workMoreTime(Employer e,int amount)
 {
     if(e.getExperience()*11>amount){
         return true;
     }
     return false;
 }
Example #2
0
 public static void printEmployer(Employer e)
 {
     Console.WriteLine("Name: "+e.getName());
     Console.WriteLine("Level: "+e.getLevel());
     Console.WriteLine("Experience: "+e.getExperience());
     Console.WriteLine("Leader: "+e.getIsLeader());
 }