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 to a variable if all the sums are equal and assign 0 if not. Use a function aside from main function that returns a value.
Use "DO WHILE LOOP" using C language. ASAP thanks!!!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
