Question: Given a 3x3 matrix, create a program that will add the three elements that forms a line including the diagonals. Assign a value of 1
Given a 3x3 matrix, create a program that will add the three elements that forms a line including the diagonals. Assign a value of 1 if all the sums are equal and assign 0 if not. Use a function aside from main function that does not return a value.
Use "Do while loop" using C language.
ASAP, thank you very much!!!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
