double childPriceMatinee = 3.99;
double adultPriceMatinee = 5.99;
double seniorPriceMatinee = 4.50;
double childPrice = 6.99;
double adultPrice = 10.99;
double seniorPrice = 8.50;
Console.WriteLine("Is this a matinee showing?");
bool matinee = bool.Parse(Console.ReadLine());
Console.WriteLine("How many children are attending?");
int child = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("How many adults are attending?");
int adult = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("How many seniors are attending?");
int senior = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("How many bags of Popcorn would you like to purchase?");
int buyPopcorn = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("How many candy bars would you like to purchase?");
int buyCandy = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("How many drinks would you like to purchase?");
int buySoda = Convert.ToInt32(Console.ReadLine());
double ticketCost = (child * childPrice) + (adult * adultPrice) + (senior * seniorPrice);
double snackCost = (buyPopcorn * popcorn) + (buyCandy * candy) + (buySoda * soda);
double totalCost = ticketCost + snackCost;
double ticketCost = child * childPriceMatinee + adult * adultPriceMatinee + senior * seniorPriceMatinee;
ticketCost = (child * childPrice) + (adult * adultPrice) + (senior * seniorPrice);
if ((buyPopcorn == buySoda) && (buyPopcorn >= 1))
ticketCost =- (2.00 * buySoda);
Console.WriteLine("You get $2.00 off of a movie ticket!");
if (matinee == false && child + adult + senior >= 3)
Console.WriteLine("You get one free bag of Popcorn!");
Console.WriteLine("You get one free Candy!");
Console.WriteLine("You get one free Candy!");
Console.WriteLine("Grand Total: " + ticketCost + snackCost);
Console.WriteLine("Thank You");
Console.WriteLine("Enjoy your Movie!");