What am I doing wrong on this code?
So for this problem, I am basically writing a program that takes the numbers of each day's winners as input and output them. The jagged array represents the list of all participants divided by the number of days. The thing is that I'm trying to use a nested for loop for the solution. However, it is not outputting anything. Here is the code: using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SoloLearn { class Program { static void Main(string[] args) { int day1Winner = Convert.ToInt32(Console.ReadLine()); int day2Winner = Convert.ToInt32(Console.ReadLine()); int day3Winner = Convert.ToInt32(Console.ReadLine()); string[][] olympiad = new string[][] { //day 1 - 5 participants new string[] { "Jill Yan", "Bridgette Ramona", "Sree Sanda", "Jareth Charlene", "Carl Soner" }, //day 2 - 7 participants new string[] { "Anna Hel", "Mariette Vedrana", "Fran Mayur", "Drake Hilmar", "Nikolay Brooks", "Eliana Vlatko", "Villem Mario" }, //day 3 - 4 participants new string[] { "Hieremias Zavia", "Ziya Ollie", "Christoffel Casper", "Kristian Dana", } }; //your code goes here string x = olympiad[][]; for (int a = 1; a < 5; a++) { for (int b = 0; b < 7; b++) { for (int c = 0; c < 4; c++) { Console.Write(olympiad[0][1][2]); } } Console.WriteLine(x); } } } } Can someone explain to me what is wrong with this code?