0

Code coach problem, help me?

: Jagged arrays Write a program to take the numbers of each day's winners as input and output them. Sample Input 2 3 4 Sample Output Bridgette Ramona Fran Mayur Kristian Dana Explanation Day 1 winner is Bridgette Ramona (the 2nd participant of day 1) Day 2 winner is Fran Mayur (the 3rd participant of day 2) Day 3 winner is Kristian Dana (the 4th participant of day 3) My solution doesn't work 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" },etc Console.WriteLine(olympiad [0] [day1Winner-1 ]); Console.WriteLine(olympiad [1] [day2Winner-1]) Console.WriteLine(olympiad [2][day3Winner-1]); Please tell me what the problem is?

10th Nov 2020, 7:03 PM
Ахан
Ахан - avatar
3 Réponses
12th Nov 2020, 6:09 AM
0_O-[Mägár_Sám_Äkà_Nüllpøïntêr_Èxëcéptïön]~~
0_O-[Mägár_Sám_Äkà_Nüllpøïntêr_Èxëcéptïön]~~ - avatar
+ 3
Ахан my code coach challenge limit is exceeded, so I can't look into this problem. As one user said: I think the above solution is right, And probably SoloLearn has accidentally modified a name in their comparison. If that's the problem than I think you need to wait until sololearn next update when they fix this issue, so better you have to send emails to sololearn about this issue. <info@sololearn.com> THIS IS THE EMAIL ID.
15th Nov 2020, 12:39 PM
0_O-[Mägár_Sám_Äkà_Nüllpøïntêr_Èxëcéptïön]~~
0_O-[Mägár_Sám_Äkà_Nüllpøïntêr_Èxëcéptïön]~~ - avatar
15th Nov 2020, 12:17 PM
Ахан
Ахан - avatar