Console.WriteLine("\nAssignment Two, If_Statements\n");
const double adultPriceEvening = 10.99;
const double seniorPriceEvening = 8.50;
const double childPriceEvening = 6.99;
const double adultPriceMatinee = 5.99;
const double seniorPriceMatinee = 4.50;
const double childPriceMatinee = 3.99;
const double popcornPrice = 4.50;
const double candyPrice = 1.99;
const double sodaPrice = 3.99;
Console.WriteLine(("Movie Tickets: Matinee or Evening?"));
string isMatineeOrEvening = (System.Console.ReadLine());
System.Console.WriteLine(("How many adults?"));
int numberOfAdults = int.Parse(System.Console.ReadLine());
System.Console.WriteLine(("How many seniors?"));
int numberOfSeniors = int.Parse(System.Console.ReadLine());
System.Console.WriteLine(("How many children?"));
int numberOfChildren = int.Parse(System.Console.ReadLine());
System.Console.WriteLine("Is this a matinee?");
bool isMatinee = bool.Parse(System.Console.ReadLine());
System.Console.WriteLine(("How many orders of popcorn?"));
int numberOfPopcorn = int.Parse(System.Console.ReadLine());
System.Console.WriteLine(("How many orders of candy?"));
int numberOfCandy = int.Parse(System.Console.ReadLine());
System.Console.WriteLine(("How many orders of soda?"));
int numberOfSoda = int.Parse(System.Console.ReadLine());
double snackCost = (numberOfPopcorn * popcornPrice) + (numberOfCandy * candyPrice) + (numberOfSoda * sodaPrice);
string Movie = Console.ReadLine();
string amountOfPopcorn = Console.ReadLine();
string amountOfSoda = Console.ReadLine();
string showtime = Console.ReadLine();
string totalTicketCost = Console.ReadLine();
string totalConcession = Console.ReadLine();
string child = Console.ReadLine();
string adult = Console.ReadLine();
string senior = Console.ReadLine();
string popcorn = Console.ReadLine();
string candy = Console.ReadLine();
string soda = Console.ReadLine();
string Tickets = Console.ReadLine();
if (showtime == "isMatinee")
totalCost += numberOfAdults * adultPriceMatinee;
totalCost += numberOfSeniors * seniorPriceMatinee;
totalCost += numberOfChildren * childPriceMatinee;
totalCost += numberOfAdults * adultPriceMatinee;
totalCost += numberOfSeniors * seniorPriceMatinee;
totalCost += numberOfChildren * childPriceMatinee;
totalCost = (numberOfChildren * childPriceMatinee) + (numberOfAdults * adultPriceMatinee) + (numberOfSeniors * seniorPriceMatinee);
{ totalCost = (numberOfChildren * childPriceEvening) + (numberOfAdults * adultPriceEvening) + (numberOfSeniors * seniorPriceEvening);
int totalTickets = numberOfChildren + numberOfAdults + numberOfSeniors;
Console.WriteLine("Your Total Cost: $" + totalCost);
Console.WriteLine(("Thank you and enjoy your movie!"));
if (amountOfPopcorn == amountOfSoda)
Console.WriteLine("You will recieve a $2 discount!");
Console.WriteLine("You will recieve a 1 free popcorn!");
Console.WriteLine("Your 4th candy is free!");