a program needed for tomorrow

Hello . I hope u r having a good day . I need help for a program for school. I tried doing it but it didn't work out so please help me.
The program is the following .
Make a program that
Write a C++ program that inserts a square matrix by the keyboard and checks
1.Which of the sums of the elements of the two diagonals is greater - the principal or the secondary
2.Which of the sums of the elements, below or above the main diagonal, is greater
Translated by me if I have translated sth wrong and you can't understand it dm me
> I tried doing it but it didn't work out
Saying you tried without showing your work is the same as saying I couldn't be bothered even attempt it.

Post your best attempt. You never know, you might be a lot closer to the answer than you think.


> a program needed for tomorrow
Nor is this rescue rangers because you couldn't plan ahead.
Deleted it . The teacher said that I'm not even close :( xD
Well, we're not just going to write your homework for you.

Which bit of the assignment, specifically, are you having trouble with?
I did them but separated can someone help me merge them ?
Topic archived. No new replies allowed.