This may be a rudimentary question, but I could not find an answer for it in the forums. I have written a code where the user input at the beginning determines the size of the array.
The array called MyArray is made up of [rows][cols]
"cols" is determined by the user
"rows" is 3^(cols) <---exponent not XOR
I have generated "MyArray" however, now I want to subtract one from every single generated number in the array. For example, if the array is: