コード例 #1
0
 public int totalsalary(chef chef)
 {
     return(chef.salary + chef.extrahrs * 50);
 }
コード例 #2
0
 public int calculatebonus(chef chef)
 {
     return(chef.extrahrs * 50);
 }