Write a program to check whether the two diagonals of a 3 × 3 matrix contain the value 1, and the remaining elements have the value 0. The matrix is populated by user input. The statement return sum;...


Write a program to check whether the two diagonals of a 3 × 3 matrix contain the value 1,


and the remaining elements have the value 0. The matrix is populated by user input.


The statement return sum; in a function (A) terminates the program after transmitting the


value of sum to the operating system, (B) transmits the value of sum to the caller of the function,


(C) terminates the function, (D) B and C, (E) A, B and C.



May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here