public static void Main()
Console.WriteLine("Welcome to McDonalds!");
Console.WriteLine("\nWould you like to order? \nSelect 1 for Yes. Select any number for No.");
int ans = int.Parse(Console.ReadLine());
Console.WriteLine("Hello! Please refer to our menu below:\n A - Burgers \n B - Chicken and Platters \n C - Drinks and Desserts");
Console.WriteLine("Goodbye. We hope you choose McDonalds next time!");
string menu = Console.ReadLine();
Console.WriteLine("Please select your order.");
Console.WriteLine("\nA - Burger McDo \nB - Big Mac \nC - Cheeseburger Deluxe \nD - Cheeseburger \nE - McCrispy Chicken Sandwich \nF - McChicken Sandwich \nG - Quarter Pounder w/ Cheese");
string burgtype = Console.ReadLine();
Console.WriteLine("Burger McDo costs Php94. Please indicate the quantity of your order (1-20):");
int quant = int.Parse(Console.ReadLine());
if(quant <= 20 && quant >= 1)
Console.Write("Your total is Php");
Console.Write(" for this order. How much are you going to pay?");
Console.WriteLine("Invalid quantity entered.");
int pay = int.Parse(Console.ReadLine());
Console.Write("\nYour total change is Php");
Console.Write(". \nPlease wait a few minutes for your order to be served. Thank you!");
Console.WriteLine("Payment not sufficient to process your order.");
Console.WriteLine("Big Mac costs Php186. Please indicate the quantity of your order (1-20):");
int quant = int.Parse(Console.ReadLine());
if(quant <= 20 && quant >= 1)
Console.Write("Your total is Php");
Console.Write(" for this order. How much are you going to pay?");
Console.WriteLine("Invalid quantity entered.");
int pay = int.Parse(Console.ReadLine());
Console.Write("\nYour total change is Php");
Console.Write(". \nPlease wait a few minutes for your order to be served. Thank you!");
Console.WriteLine("Payment not sufficient to process your order.");
Console.WriteLine("Cheeseburger Deluxe costs Php132. Please indicate the quantity of your order (1-20):");
int quant = int.Parse(Console.ReadLine());
if(quant <= 20 && quant >= 1)
Console.Write("Your total is Php");
Console.Write(" for this order. How much are you going to pay?");
Console.WriteLine("Invalid quantity entered.");
int pay = int.Parse(Console.ReadLine());
Console.Write("\nYour total change is Php");
Console.Write(". \nPlease wait a few minutes for your order to be served. Thank you!");
Console.WriteLine("Payment not sufficient to process your order.");
Console.WriteLine("Cheeseburger costs Php114. Please indicate the quantity of your order (1-20):");
int quant = int.Parse(Console.ReadLine());
if(quant <= 20 && quant >= 1)
Console.Write("Your total is Php");
Console.Write(" for this order. How much are you going to pay?");
Console.WriteLine("Invalid quantity entered.");
int pay = int.Parse(Console.ReadLine());
Console.Write("\nYour total change is Php");
Console.Write(". \nPlease wait a few minutes for your order to be served. Thank you!");
Console.WriteLine("Payment not sufficient to process your order.");
Console.WriteLine("McCrispy Chicken Sandwich costs Php103. Please indicate the quantity of your order (1-20):");
int quant = int.Parse(Console.ReadLine());
if(quant <= 20 && quant >= 1)
Console.Write("Your total is Php");
Console.Write(" for this order. How much are you going to pay?");
Console.WriteLine("Invalid quantity entered.");
int pay = int.Parse(Console.ReadLine());
Console.Write("\nYour total change is Php");
Console.Write(". \nPlease wait a few minutes for your order to be served. Thank you!");
Console.WriteLine("Payment not sufficient to process your order.");
Console.WriteLine("McChicken Sandwich costs Php155. Please indicate the quantity of your order (1-20):");
int quant = int.Parse(Console.ReadLine());
if(quant <= 20 && quant >= 1)
Console.Write("Your total is Php");
Console.Write(" for this order. How much are you going to pay?");
Console.WriteLine("Invalid quantity entered.");
int pay = int.Parse(Console.ReadLine());
Console.Write("\nYour total change is Php");
Console.Write(". \nPlease wait a few minutes for your order to be served. Thank you!");
Console.WriteLine("Payment not sufficient to process your order.");
Console.WriteLine("Quarter Pounder w/ Cheese costs Php186. Please indicate the quantity of your order (1-20):");
int quant = int.Parse(Console.ReadLine());
if(quant <= 20 && quant >= 1)
Console.Write("Your total is Php");
Console.Write(" for this order. How much are you going to pay?");
Console.WriteLine("Invalid quantity entered.");
int pay = int.Parse(Console.ReadLine());
Console.Write("\nYour total change is Php");
Console.Write(". \nPlease wait a few minutes for your order to be served. Thank you!");
Console.WriteLine("Payment not sufficient to process your order.");
Console.WriteLine("Item not found in menu.");
Console.WriteLine("Please select your order.");
Console.WriteLine("\nA - Chicken McDo Meal \nB - Spicy Chicken McDo Meal \nC - 6-pc Chicken McNuggets \nD - 6-pc Chicken McNuggets Meal \nE - McCrispy Chicken Fillet Meal \nF - McMcCrispy Chicken Fillet Ala King Meal");
string chictype = Console.ReadLine();
Console.WriteLine("Chicken McDo Meal costs Php113. Please indicate the quantity of your order (1-20):");
int quant = int.Parse(Console.ReadLine());
if(quant <= 20 && quant >= 1)
Console.Write("Your total is Php");
Console.Write(" for this order. How much are you going to pay?");
Console.WriteLine("Invalid quantity entered.");
int pay = int.Parse(Console.ReadLine());
Console.Write("\nYour total change is Php");
Console.Write(". \nPlease wait a few minutes for your order to be served. Thank you!");
Console.WriteLine("Payment not sufficient to process your order.");
Console.WriteLine("Spicy Chicken McDo Meal costs Php116. Please indicate the quantity of your order (1-20):");
int quant = int.Parse(Console.ReadLine());
if(quant <= 20 && quant >= 1)
Console.Write("Your total is Php");
Console.Write(" for this order. How much are you going to pay?");
Console.WriteLine("Invalid quantity entered.");
int pay = int.Parse(Console.ReadLine());
Console.Write("\nYour total change is Php");
Console.Write(". \nPlease wait a few minutes for your order to be served. Thank you!");
Console.WriteLine("Payment not sufficient to process your order.");
Console.WriteLine("6-pc Chicken McNuggets costs Php123. Please indicate the quantity of your order (1-20):");
int quant = int.Parse(Console.ReadLine());
if(quant <= 20 && quant >= 1)
Console.Write("Your total is Php");
Console.Write(" for this order. How much are you going to pay?");
Console.WriteLine("Invalid quantity entered.");
int pay = int.Parse(Console.ReadLine());
Console.Write("\nYour total change is Php");
Console.Write(". \nPlease wait a few minutes for your order to be served. Thank you!");
Console.WriteLine("Payment not sufficient to process your order.");
Console.WriteLine("6-pc Chicken McNuggets Meal costs Php165. Please indicate the quantity of your order (1-20):");
int quant = int.Parse(Console.ReadLine());
if(quant <= 20 && quant >= 1)
Console.Write("Your total is Php");
Console.Write(" for this order. How much are you going to pay?");
Console.WriteLine("Invalid quantity entered.");
int pay = int.Parse(Console.ReadLine());
Console.Write("\nYour total change is Php");
Console.Write(". \nPlease wait a few minutes for your order to be served. Thank you!");
Console.WriteLine("Payment not sufficient to process your order.");
Console.WriteLine("McCrispy Chicken Fillet Meal costs Php85. Please indicate the quantity of your order (1-20):");
int quant = int.Parse(Console.ReadLine());
if(quant <= 20 && quant >= 1)
Console.Write("Your total is Php");
Console.Write(" for this order. How much are you going to pay?");
Console.WriteLine("Invalid quantity entered.");
int pay = int.Parse(Console.ReadLine());
Console.Write("\nYour total change is Php");
Console.Write(". \nPlease wait a few minutes for your order to be served. Thank you!");
Console.WriteLine("Payment not sufficient to process your order.");
Console.WriteLine("McCrispy Chicken Fillet Ala King Meal costs Php88. Please indicate the quantity of your order (1-20):");
int quant = int.Parse(Console.ReadLine());
if(quant <= 20 && quant >= 1)
Console.Write("Your total is Php");
Console.Write(" for this order. How much are you going to pay?");
Console.WriteLine("Invalid quantity entered.");
int pay = int.Parse(Console.ReadLine());
Console.Write("\nYour total change is Php");
Console.Write(". \nPlease wait a few minutes for your order to be served. Thank you!");
Console.WriteLine("Payment not sufficient to process your order.");
Console.WriteLine("Item not found in menu.");
Console.WriteLine("Please select your order.");
Console.WriteLine("\nA - McCafe Coffee Float \nB - McCafe Iced Coffee \nC - McFreeze \nD - McFlurry w/ Oreo \nE - Coke McFloat \nF - Sunade");
string dndtype = Console.ReadLine();
Console.WriteLine("McCafe Coffee Float costs Php59. Please indicate the quantity of your order (1-20):");
int quant = int.Parse(Console.ReadLine());
if(quant <= 20 && quant >= 1)
Console.Write("Your total is Php");
Console.Write(" for this order. How much are you going to pay?");
Console.WriteLine("Invalid quantity entered.");
int pay = int.Parse(Console.ReadLine());
Console.Write("\nYour total change is Php");
Console.Write(". \nPlease wait a few minutes for your order to be served. Thank you!");
Console.WriteLine("Payment not sufficient to process your order.");
Console.WriteLine("McCafe Iced Coffee costs Php50. Please indicate the quantity of your order (1-20):");
int quant = int.Parse(Console.ReadLine());
if(quant <= 20 && quant >= 1)
Console.Write("Your total is Php");
Console.Write(" for this order. How much are you going to pay?");
Console.WriteLine("Invalid quantity entered.");
int pay = int.Parse(Console.ReadLine());
Console.Write("\nYour total change is Php");
Console.Write(". \nPlease wait a few minutes for your order to be served. Thank you!");
Console.WriteLine("Payment not sufficient to process your order.");
Console.WriteLine("McFreeze costs Php32. Please indicate the quantity of your order (1-20):");
int quant = int.Parse(Console.ReadLine());
if(quant <= 20 && quant >= 1)
Console.Write("Your total is Php");
Console.Write(" for this order. How much are you going to pay?");
Console.WriteLine("Invalid quantity entered.");
int pay = int.Parse(Console.ReadLine());
Console.Write("\nYour total change is Php");
Console.Write(". \nPlease wait a few minutes for your order to be served. Thank you!");
Console.WriteLine("Payment not sufficient to process your order.");
Console.WriteLine("McFlurry w/ Oreo costs Php49. Please indicate the quantity of your order (1-20):");
int quant = int.Parse(Console.ReadLine());
if(quant <= 20 && quant >= 1)
Console.Write("Your total is Php");
Console.Write(" for this order. How much are you going to pay?");
Console.WriteLine("Invalid quantity entered.");
int pay = int.Parse(Console.ReadLine());
Console.Write("\nYour total change is Php");
Console.Write(". \nPlease wait a few minutes for your order to be served. Thank you!");
Console.WriteLine("Payment not sufficient to process your order.");
Console.WriteLine("Coke McFloat costs Php29. Please indicate the quantity of your order (1-20):");
int quant = int.Parse(Console.ReadLine());
if(quant <= 20 && quant >= 1)
Console.Write("Your total is Php");
Console.Write(" for this order. How much are you going to pay?");
Console.WriteLine("Invalid quantity entered.");
int pay = int.Parse(Console.ReadLine());
Console.Write("\nYour total change is Php");
Console.Write(". \nPlease wait a few minutes for your order to be served. Thank you!");
Console.WriteLine("Payment not sufficient to process your order.");
Console.WriteLine("Sunade costs Php29. Please indicate the quantity of your order (1-20):");
int quant = int.Parse(Console.ReadLine());
if(quant <= 20 && quant >= 1)
Console.Write("Your total is Php");
Console.Write(" for this order. How much are you going to pay?");
Console.WriteLine("Invalid quantity entered.");
int pay = int.Parse(Console.ReadLine());
Console.Write("\nYour total change is Php");
Console.Write(". \nPlease wait a few minutes for your order to be served. Thank you!");
Console.WriteLine("Payment not sufficient to process your order.");
Console.WriteLine("Item not found in menu.");