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
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.
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.