0
I am stuck with this....can someone help me?
3 Respostas
0
Do you want all three operations to be performed simultaneously?
0
Don’t `new Scanner` in sub threads.
Use the Scanner instance of your main thread.
And this will be the output.
Enter the number of rows and number of columns for the first matrix :
Enter the elements to the matrix :
The entered matrix is :
3 3
3 3
Enter the number which should be added to the matrix :
Enter the number which shouild be sutracted to the matrix :
Enter the number which should be multiplied to the matrix :
The array after subtracting the elements one by one is :
The array after multiplying the elements one by one is :
2 2
2 2
The array after adding the elements one by one is :
3 3
3 3
4 4
4 4
The numbers I inputted ⬇️
addtion : 3 + 1 = 4
multiplication : 3 * 1 = 3
substraction : 3 - 1 = 2
So, what do you want your output to be like?
0
yes, I want all my operations to be performed simultaneously.