public static void Main()
{ Console.WriteLine("------------------------------------------------------------------------------------");
Console.WriteLine("Ticket type | Cost for one day");
Console.WriteLine("------------------------------------------------------------------------------------");
Console.WriteLine("one adult | $20.00");
Console.WriteLine("one child (an adult may bring up to two children) | $12.00");
Console.WriteLine("one senior | $16.00");
Console.WriteLine("family ticket (up to two adults or seniors, and three children)| $60.00");
Console.WriteLine("groups of six people or more, price per person | $15.00");
Console.WriteLine("------------------------------------------------------------------------------------");
Console.WriteLine("Extra attractions for one day tickets | Cost per person");
Console.WriteLine("------------------------------------------------------------------------------------");
Console.WriteLine("lion feeding | $2.50");
Console.WriteLine("penguin feeding | $2.00");
Console.WriteLine("------------------------------------------------------------------------------------");
Console.WriteLine("Ticket type | Cost for two days");
Console.WriteLine("------------------------------------------------------------------------------------");
Console.WriteLine("one adult | $30.00");
Console.WriteLine("one child (an adult may bring up to two children) | $18.00");
Console.WriteLine("one senior | $24.00");
Console.WriteLine("family ticket (up to two adults or seniors, and three children)| $90.00");
Console.WriteLine("groups of six people or more, price per person | $22.50");
Console.WriteLine("------------------------------------------------------------------------------------");
Console.WriteLine("Extra attractions for two day tickets | Cost per person");
Console.WriteLine("------------------------------------------------------------------------------------");
Console.WriteLine("lion feeding | $2.50");
Console.WriteLine("penguin feeding | $2.00");
Console.WriteLine("evening barbecue (two-day tickets only) | $5.00");
Console.WriteLine("-------------------------------------------------------------------------------------------------");
string [] day = {"Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday", "Sunday"};
Console.WriteLine("For which day you want to make the booking ? Select 0 for Monday, 1 for Tuesday, 2 for Wednesday, 3 for Thursday , 4 for Friday, 5 for Saturday and 6 for Sunday.");
ansday= Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Invalid. Booking(s) can be made upto a week only.");
} else Console.WriteLine("You have chosen :" + (day [ansday]));
double cost=0; double ExtraC=0; int booknum =000; double Totcost=0; double numpeople=0; int daysnum=0; int type=0; int tnum=0; int count=0; string ans="y";
Console.WriteLine("How many people are visiting ?");
numpeople = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("For how many days you'll visit (1 or 2) ?");
daysnum = Convert.ToInt32(Console.ReadLine());
double [] day1cost = { 20,12,16,60,15};
double [] day2cost = { 30,18,24,90,22.5};
double [] extra = {2.5 , 2 ,5};
Console.WriteLine("How many ticket types do you want ?");
int ticketnum = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Select your ticket type:");
Console.WriteLine(" 0 for one adult. 1 for one child. 2 for one senior. 3 for family. 4 for groups of people.");
type = Convert.ToInt32(Console.ReadLine());
Console.WriteLine("Number of tickets you want for this type ?");
tnum = Convert.ToInt32(Console.ReadLine());
cost =((day1cost [type])*tnum)+cost;
cost = ((day2cost [type])*tnum)+cost;
} while (count!= ticketnum);
Console.WriteLine("Do you want any extra attractions ? Y/N");
string reply = Console.ReadLine();
Console.WriteLine("How many types of attractions you want?");}
int exnum = Convert.ToInt32(Console.ReadLine());
do { Console.WriteLine(" Select 0 for lionfeed. 1 for penguin. 2 for barbecue");
int choice = Convert.ToInt32(Console.ReadLine());
if ((daysnum ==1) && (choice ==2)) {
Console.WriteLine("Invalid. Barbecue is for two days only.");
} else Console.WriteLine("How many tickets you want for this ?");
int choicenum = Convert.ToInt32(Console.ReadLine());
ExtraC = ((extra [choice])*choicenum) + ExtraC;
Console.WriteLine(" Your booking number is : BKN" + booknum);
Console.WriteLine(" Your booking is for : " + numpeople + "people");
Console.WriteLine("Your booking is finalized for :" + (day [ansday]));
Console.WriteLine("Total cost of your booking is $ :" + Totcost);
Console.WriteLine("--------------------------------------------");
Console.WriteLine ("Do you want your booking to continue Y/N?");
ans = Console.ReadLine();
Console.WriteLine ("Thanks for visiting the Wildlife Park.");