Esempio n. 1
0
        public string SweepstakesCreation(string userInput)
        {
            Console.WriteLine("would you like to create a Sweepstakes?");
            userInput = Console.ReadLine();

            if (userInput == "yes")
            {
                TheSweepstakes theSweepstakes = new TheSweepstakes();
                theSweepstakes.CreateSweepstakes();
            }
            else
            {
                Console.WriteLine("please hit enter to exit");
            }
            return(userInput);
        }
 public void InsertSweepstakes(TheSweepstakes sweepstakes)
 {
     queue.Enqueue(sweepstakes);
 }
 public void InsertSweepstakes(TheSweepstakes sweepstakes)
 {
     stack.Push(sweepstakes);
 }