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
To complete the task using nested while loops you need to calculate the product of the diagonal elem... View full answer
Get step-by-step solutions from verified subject matter experts
