3rd Apr 2021, 3:08 PM
Iman🌸
Iman🌸 - avatar
4 ответов
+ 1
Imashka There are 5 sports and 20 athelete. First line show the points of 1st athlete 2nd line show the points of 2nd athlete And so on. So your array will be of size 5 * 20 https://code.sololearn.com/cbLMF29iMc74/?ref=app
3rd Apr 2021, 3:57 PM
A͢J
A͢J - avatar
+ 1
Imashka Problem is here for (int f = 1; f<k; f++, i++){ a[f, 0] = Convert.ToString(i); } a length is 6 but k is 21. So it is giving exception. https://code.sololearn.com/cwI5lpRQAiFp/?ref=app
3rd Apr 2021, 3:40 PM
A͢J
A͢J - avatar
+ 1
Yes, I know that, but the fact is that I added another line with the names of the games and another column with the numbering of the athletes. Therefore, I got 6 and 21. And THANK YOU VERY MUCH )))
3rd Apr 2021, 4:23 PM
Iman🌸
Iman🌸 - avatar
0
I don’t understand ... I need to fill in length 21, that is, if by indices, then something like this 1.0; 2.0 ... 20.0.
3rd Apr 2021, 3:46 PM
Iman🌸
Iman🌸 - avatar