Hello... How to compute the diagonal equivalent in a multiplication table? And how to find its center point?
ex. (MULTIPLICATION TABLE)-OUTPUT
Enter columns: 5
Enter rows: 5
1 2 3 4 5
2 4 6 8 10
3 6 9 12 15
4 8 12 16 20
5 10 15 20 25
What is the center point?
Diagonal equivalent?
-------------------
Using JAVA Programming Language:
How can you find the center point of the table if you are going to input the rows and columns?(ex. Columns=5; Rows=5; The center point is 9)
How can you add the diagonal numbers?(ex. 1+4+9+16+25=?)
~~Thank you!~~