Page 1 of 1

Question #1: a) Write a simple C program to print out a 3x3 array and find the sum and average of the diagonal elements.

Posted: Sun Jul 10, 2022 11:25 am
by answerhappygod
Question #1:
a) Write a simple C program to print out a 3x3 array and findthe sum and average of the diagonal elements. Ask user for theelements.
b) Write a simple C program to print out a 3x3 array and findthe how many times a specific element is present in the array. Askuser for the elements.