When I wrote the program below, I received an error saying that I could not convert the int type to int.
I want to do this because I want to set the two-dimensional array from  and substitute elements from 1 to 100, but I can't because of an error.I looked for various places, but I didn't know, so I posted it.Could you give me some advice?
Thank you for your cooperation.
Array is a two-dimensional array of int because it is declared and substituted as shown below.In other words,
Array is an array of int arrays.
However, some lines are substituted as follows:This is the cause of the error.
On the left is an array of int, and on the right is an int.
If you want to substitute the int value,
Array [somehow]You must specify two subscripts, such as the letter .
For the scope of this challenge, the image that the two-dimensional array
Array is an Excel-like table is perfect.Each cell in the table contains a value of int, but you must specify two columns and rows to determine which cell to replace.This time, I only specified "column", but I am getting an error because I am trying to substitute int.
© 2023 OneMinuteCode. All rights reserved.