예제 #1
0
 //member method
 public void RegisterContesant(Contestant contestant) // get all the contesant info // reference soda machine?
 {
     contestant.firstName          = UserInterface.EnterFirstName();
     contestant.lastName           = UserInterface.EnterLastName();
     contestant.emailAddress       = UserInterface.EnterEmailAddress();
     contestant.registrationNumber = UserInterface.GetRegistrationNumber();
 }