Question: Using nested while loop, complete the following code to print the product of diagonal elements of the array A. int A[3][3] ={ {1,2,5},{1,2,5},{1,2,1} };
Using nested while loop, complete the following code to print the product of diagonal elements of the array A.
int A[3][3] ={ {1,2,5},{1,2,5},{1,2,1} };
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
