コード例 #1
0
 public String rentApartment()
 {
     automat.setCount(automat.getCount() - 1);
     return("Renting you an apartment....\n" + dispenseKeys());
 }
コード例 #2
0
 public string rentApartment()
 {
     automat.setCount(automat.getCount() - 1);
     return("Renting you an apartment....");
 }
コード例 #3
0
 public String rentApartment()
 {
     automat.setCount(automat.getCount() - 1);
     Console.WriteLine(dispenseKeys());
     return("Renting you an apartment....");
 }