So, I made program that can find inverse diagonals of the square matrix and count it average. Now I need to make that program to find parallel numerical sequence below inverse diagonals. Example:
If I have matrix like this
1 2 3
4 5 6
7 8 9
Program says that inverse diagonals is 3 5 7
My program should also say that parallel to these diagonals (below) are 8 6 and 9.
This program can find one sequence below, but I want to make it able to find all sequences and i don't know hot to make it.
Thanks.
I'm working on it. Trying to make sense of the inverse-diagonal for-loop and generally straightening it up. Once I get it all straightened out, I'll post my code.
Alright I have written my own code which does the same thing as all your other stuff, but is cleaner. I also was able to add a function that outputs the rest of the diagonals starting from upper-left to the bottom-right.
Would you like me to post my function so you can see it?
Would you like me to give you the entire program which is just your code plus the function?