Create a java program that reads elements (randomly from 0 – 9) of a 2-dimensional array (5x5) using the Random Class then perform the following: 1) Output the array elements2) Output the sum of each row.3) Output the sum of each column.4) Output the sum of all the elements.5) Output the sum of prime numbers in the array6) Output the sum of the elements in the main diagonal.7) Output the sum of the elements below the diagonal.8) Output the sum of the elements above diagonal.9) Output the sum of odd numbers below the diagonal.10) Output the sum of even numbers above the diagonal
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here