Hey guys, new here and wanted someone to help me figure out this program I have to do. I keep getting a error where I have defined ReadDouble and ReadInput, saying that its not defined anywhere. Once this program works, can I just replace the addition sign to multiply to get this program to multiply?
The compiler says that because you have neither ReadInt nor ReadDouble functions declared so it doesn't know what to do. You must declare those functions so that the compiler knows what to call for.
ReadInt shoudl be made a method of matrix too. Looks like you're asking the user for the number of rows and columns.
Look here to read input and assign to variables.
ReadDouble() the same kinda thing BUT..... Are you really expecting your user to enter a value for every element in the matrix? If the user states 10 rows and 10 columns, that's one hundred values you are going to have to ask them for.