//private method to call FindHighestRatedHotel method private static void GetHighestRatedHotel() { DateTime[] dates = AskStartAndEndDate(); CustomerType custType = AskCustomerType(); HotelReservation hotelReservationObj = new HotelReservation(custType, dates[0], dates[1]); string highestRatedHotel = hotelReservationObj.FindHighestRatedHotel(); int highestRatedHotelTotalRate = hotelReservationObj.FindHigestRatedHotelTotalRate(); int highestRatedHotelRating = hotelReservationObj.FindHighestRatedHotelRating(); ColouredPrint.PrintInRed($"Highest Rated hotel is {highestRatedHotel} with Total Fare {highestRatedHotelTotalRate} and Rating {highestRatedHotelRating}"); }