public static void Main()
Console.WriteLine("Please enter your name: ");
name = Console.ReadLine();
Console.WriteLine("Welcome");
Console.Write("Welcome " + name);
Console.WriteLine("This is the official gift shop for the arcade");
Console.WriteLine("You can buy anything here according to the number of tickets you have won.");
Console.WriteLine("You can only buy 1 item from this gift shop per vist " + name);
float SPH, LS, LB, CF, TP, TC;
Console.WriteLine("Space Hat (SPH) = 300 tickets");
Console.WriteLine("Toy lightsaber (LS) = 200 tickets");
Console.WriteLine("Lego Batman (LB) = 150 tickets");
Console.WriteLine("Cowboy figurine (CF) = 100 tickets");
Console.WriteLine("Toy Plane (TP) = 100 tickets");
Console.WriteLine("Toy car (TC) = 50 tickets");
Console.WriteLine("Please enter number of tickets you have won so far = ");
ticket1 = Convert.ToInt32(Console.ReadLine());
Console.Write("Congratulations " + name);
Console.Write(" you have won this amount of tickets so far = " + ticket1);
Console.WriteLine("You can buy any of the items shown above.");
Console.WriteLine("What would you like to buy?");
Console.WriteLine("Please enter the code in front of the item you would like to buy = ");
item = Console.ReadLine();
Console.Write("You have purchased the Space Cowboy Hat!!");
Console.WriteLine("The total amount of tickets you have to pay is " + SPH);
Console.WriteLine("Enjoy your item " + name);
for (dom = 1; dom <= 3; dom = dom + 1)
Console.WriteLine("COME BACK SOON");
Console.Write("You have purchased the Toy lightsaber!!");
Console.WriteLine("The total amount of tickets you have to pay is " + LS);
Console.WriteLine("Enjoy your item " + name);
for (dom = 1; dom <= 3; dom = dom + 1)
Console.WriteLine("COME BACK SOON");
Console.Write("You have purchased the Lego Batman!!");
Console.WriteLine("The total amount of tickets you have to pay is " + LB);
Console.WriteLine("Enjoy your item " + name);
for (dom = 1; dom <= 3; dom = dom + 1)
Console.WriteLine("COME BACK SOON");
Console.Write("You have purchased the Cowboy figurine!!");
Console.WriteLine("The total amount of tickets you have to pay is " + CF);
Console.WriteLine("Enjoy your item " + name);
for (dom = 1; dom <= 3; dom = dom + 1)
Console.WriteLine("COME BACK SOON");
Console.Write("You have purchased the Toy Plane!!");
Console.WriteLine("The total amount of tickets you have to pay is " + TP);
Console.WriteLine("Enjoy your item " + name);
for (dom = 1; dom <= 3; dom = dom + 1)
Console.WriteLine("COME BACK SOON");
Console.Write("You have purchased the Toy car !!");
Console.WriteLine("The total amount of tickets you have to pay is " + TC);
Console.WriteLine("Enjoy your item " + name);
for (dom = 1; dom <= 3; dom = dom + 1)
Console.WriteLine("COME BACK SOON");
Console.WriteLine("You can only buy the items shown below for now");
Console.WriteLine("What would you like to buy?");
Console.WriteLine("Please enter the code in front of the item you would like to buy = ");
item1 = Console.ReadLine();
Console.Write("You have purchased the Toy lightsaber!!");
Console.WriteLine("The total amount of tickets you have to pay is " + LS);
Console.WriteLine("Enjoy your item " + name);
for (dom = 1; dom <= 3; dom = dom + 1)
Console.WriteLine("COME BACK SOON");
Console.Write("You have purchased the Lego Batman!!");
Console.WriteLine("The total amount of tickets you have to pay is " + LB);
Console.WriteLine("Enjoy your item " + name);
for (dom = 1; dom <= 3; dom = dom + 1)
Console.WriteLine("COME BACK SOON");
Console.Write("You have purchased the Cowboy figurine!!");
Console.WriteLine("The total amount of tickets you have to pay is " + CF);
Console.WriteLine("Enjoy your item " + name);
for (dom = 1; dom <= 3; dom = dom + 1)
Console.WriteLine("COME BACK SOON");
Console.Write("You have purchased the Toy Plane!!");
Console.WriteLine("The total amount of tickets you have to pay is " + TP);
Console.WriteLine("Enjoy your item " + name);
for (dom = 1; dom <= 3; dom = dom + 1)
Console.WriteLine("COME BACK SOON");
Console.Write("You have purchased the Toy car !!");
Console.WriteLine("The total amount of tickets you have to pay is " + TC);
Console.WriteLine("Enjoy your item " + name);
for (dom = 1; dom <= 3; dom = dom + 1)
Console.WriteLine("COME BACK SOON");
Console.WriteLine("You can only buy the items shown below for now");
Console.WriteLine("What would you like to buy?");
Console.WriteLine("Please enter the code in front of the item you would like to buy = ");
item1 = Console.ReadLine();
Console.Write("You have purchased the Lego Batman!!");
Console.WriteLine("The total amount of tickets you have to pay is " + LB);
Console.WriteLine("Enjoy your item " + name);
for (dom = 1; dom <= 3; dom = dom + 1)
Console.WriteLine("COME BACK SOON");
Console.Write("You have purchased the Cowboy figurine!!");
Console.WriteLine("The total amount of tickets you have to pay is " + CF);
Console.WriteLine("Enjoy your item " + name);
for (dom = 1; dom <= 3; dom = dom + 1)
Console.WriteLine("COME BACK SOON");
Console.Write("You have purchased the Toy Plane!!");
Console.WriteLine("The total amount of tickets you have to pay is " + TP);
Console.WriteLine("Enjoy your item " + name);
for (dom = 1; dom <= 3; dom = dom + 1)
Console.WriteLine("COME BACK SOON");
Console.Write("You have purchased the Toy car !!");
Console.WriteLine("The total amount of tickets you have to pay is " + TC);
Console.WriteLine("Enjoy your item " + name);
for (dom = 1; dom <= 3; dom = dom + 1)
Console.WriteLine("COME BACK SOON");
Console.WriteLine("You can only buy the items shown below for now");
Console.WriteLine("What would you like to buy?");
Console.WriteLine("Please enter the code in front of the item you would like to buy = ");
item1 = Console.ReadLine();
Console.Write("You have purchased the Cowboy figurine!!");
Console.WriteLine("The total amount of tickets you have to pay is " + CF);
Console.WriteLine("Enjoy your item " + name);
for (dom = 1; dom <= 3; dom = dom + 1)
Console.WriteLine("COME BACK SOON");
Console.Write("You have purchased the Toy Plane!!");
Console.WriteLine("The total amount of tickets you have to pay is " + TP);
Console.WriteLine("Enjoy your item " + name);
for (dom = 1; dom <= 3; dom = dom + 1)
Console.WriteLine("COME BACK SOON");
Console.Write("You have purchased the Toy car !!");
Console.WriteLine("The total amount of tickets you have to pay is " + TC);
Console.WriteLine("Enjoy your item " + name);
for (dom = 1; dom <= 3; dom = dom + 1)
Console.WriteLine("COME BACK SOON");
Console.WriteLine("You can only buy the items shown below for now");
Console.WriteLine("What would you like to buy?");
Console.WriteLine("Please enter the code in front of the item you would like to buy = ");
item1 = Console.ReadLine();
Console.Write("You have purchased the Toy Plane!!");
Console.WriteLine("The total amount of tickets you have to pay is " + TP);
Console.WriteLine("Enjoy your item " + name);
for (dom = 1; dom <= 3; dom = dom + 1)
Console.WriteLine("COME BACK SOON");
Console.Write("You have purchased the Toy car !!");
Console.WriteLine("The total amount of tickets you have to pay is " + TC);
Console.WriteLine("Enjoy your item " + name);
for (dom = 1; dom <= 3; dom = dom + 1)
Console.WriteLine("COME BACK SOON");
Console.WriteLine("Sorry you are not able to buy anything from the gift shop for now.");
Console.WriteLine("Better luck next time " + name);