public static void Main()
Console.WriteLine(CalculateTotal("PREMIUM", 23, 300));
Console.WriteLine(CalculateTotal("REGULAR", 45, 20));
Console.WriteLine(CalculateTotal("NONE", 20, 100));
public static decimal CalculateTotal(string type, int age, decimal totalPrice)
return (totalPrice - 10);
else if (type == "REGULAR"){