I have a class which takes three arguments, number of row, column and value.
I need to modify the vale during runtime and I'm using switch for that. but I get this error "uninitialized local variable 'item' used", when I initialize item, the switch just work on one case. I need to change the item and see the different. any help would be appreciated.
We are supposed to have two 3*3 matrices The elements of these two matrices are constant, but they have the different coefficient. In the class I defined the coefficients for each case, then in the main code I specify the case number and I want to have these matrices, but I don't know where is my mistake?