/// <summary> /// A simple room booking system /// </summary> private static void TestMotelBooking() { BatesMotel motel = new BatesMotel(); SimpleIO.WriteTitle("The Bates Motel", "Task 5.6"); motel.RunMotel(); Console.ReadKey(); }
/// <summary> /// Task 4.2 Create a Book object and test that it writes chapter 1 and 2 /// Task 4.3 Add a Book Constructor method to initialise all the attributes /// </summary> private static void TestBook() { Book book = new Book(); SimpleIO.WriteTitle("Horror Story", "Task 4.1"); //book.GetDetails(); book.WriteChapter1(); book.WriteChapter2(); }