Exemplo n.º 1
0
 public int totalsalary(chef chef)
 {
     return(chef.salary + chef.extrahrs * 50);
 }
Exemplo n.º 2
0
 public int calculatebonus(chef chef)
 {
     return(chef.extrahrs * 50);
 }