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