public static void Main()
Console.WriteLine("Welcome to the C Bakery, where all of our goods start with the letter C!");
Console.WriteLine("Please press enter to continue.");
Console.WriteLine("How many cookies would you like to order?");
byte cookies = byte.Parse(Console.ReadLine());
decimal cost1 = 3.99M*cookies;
Console.WriteLine("How many cakes would you like to order?");
byte cakes = byte.Parse(Console.ReadLine());
decimal cost2 = 15.99M*cakes;
Console.WriteLine("How many cupcakes would you like to order?");
byte cupcakes = byte.Parse(Console.ReadLine());
decimal cost3 = 2.99M*cupcakes;
Console.WriteLine("How much custard would you like to order?");
byte custard = byte.Parse(Console.ReadLine());
decimal cost4 = 7.99M*custard;
decimal subtotal = cost1 + cost2 + cost3 + cost4;
Console.WriteLine("Please buy something.");}
else if(subtotal>0&&subtotal<=50)
Console.WriteLine("Your shipping cost is $7.99");}
else if(subtotal>50&&subtotal<=100)
Console.WriteLine("Your shipping cost is $9.99");}
Console.WriteLine("You are eligible for free shipping.");}
decimal tax = subtotal*0.08625M;
decimal grandtotal = subtotal + shipping + tax;
Console.WriteLine("Your subtotal is " + subtotal.ToString("C"));
Console.WriteLine("Your tax due is " + tax.ToString("C"));
Console.WriteLine("Your grand total is " + grandtotal.ToString("C"));
{Console.WriteLine("Thank you for making a purchase of more than $150.00, you've won a free gift! Choose 1 for a double layer chocolate cake or 2 for a tub of chocolate ice cream.");
byte gift= byte.Parse(Console.ReadLine());
{Console.WriteLine("Congratulations on your free double layer chocolate cake! It shall be shipped with your purchase.");}
{Console.WriteLine("Congratulations on your free tub of ice cream! It shall be shipped with your purchase.");}
Console.WriteLine("Would you like to run the program again? y/n");
String choice = Console.ReadLine();
if (choice=="y" || choice=="Y")