Answer:
myvals[1][2] = 4
Step-by-step explanation:
Int[][] myvals = {{2, 4, 6, 8}, {20, 40, 60, 80} }
This command means that we have the following matrix:
![\left[\begin{array}{cccc}2&4&6&8\\20&40&60&80\end{array}\right]](https://tex.z-dn.net/?f=%5Cleft%5B%5Cbegin%7Barray%7D%7Bcccc%7D2%264%266%268%5C%5C20%2640%2660%2680%5Cend%7Barray%7D%5Cright%5D)
using the above two-dimensional array, what is the value of myvals[1][2]?
This is the element at first row, column 2.
First row is {2, 4, 6, 8}
First row, column 2 is 4. So
myvals[1][2] = 4