public static void Main()
Console.WriteLine("What type of coffee do you want, type the first letter of the type");
coffee = Console.ReadLine();
Console.WriteLine("How many coffees do you want");
amount = int.Parse(Console.ReadLine());
Console.WriteLine("Would you like syrup");
String optionalSyrup = Console.ReadLine();
else if(coffee.Equals("C"))
else if(coffee.Equals("E"))
Console.WriteLine("Invalid entry");
if(amount >= 5 && amount <= 7)
else if(amount >= 8 && amount <= 14)
if(optionalSyrup.Equals("Y"))
total = ((cprice+sprice)*amount)*(1-discount);
Console.WriteLine("Your total is " + total + " the discount is " + discount);
else if(optionalSyrup.Equals("N"))
total = (cprice+sprice)*amount;
Console.WriteLine("Your total is " + total);