I have been searching all night for a fix for a storage system for users inputs from a loop up to the limmit of 3 loop. i belive i have found it but as the title says i get the error Cannot implicitly Convert Type 'int' to 'int[]', on the console.readline for the user input? any suggestions on how i can solve this ?
Thank you In advnace.
//Array For Ticket prices, sales and user input
int[] TicketChoices = new int[3];
//Ticket Types
//ChildT = £1.50 = Child;
//AdultT = £2.35 = Adult;
//StudentT = £1.99 = Student;
//Film Certificate Seats Screen
//Jaws 12A 15 1
//The Exorcist 18 33 2
cw("Hello Current tickets are:");
for (int I = 0; I < 3; I++)
{
cw("ID (1) Child, £1.50");
cw("ID:(2) Adult, £2,35");
cw("ID:(3) Student £1.99");
cw("");
cw("Please Select Which ticket you would like to input By Entering it's id Number");
cw("input Must be between 1-3 for it to be vaild.");
TicketChoices = int.Parse(Console.ReadLine());
}