Program to find average of elements of a 2D array
Program #include <stdio.h> int main() { printf(“****************************************************”); printf(“\n****************************************************”); printf(“\n** WAP to find average of elements of a 2D array **”); printf(“\n** Created by Sheetal Garg **”); printf(“\n** Assistant Professor **”); printf(“\n** Phone No:9467863365 **”); printf(“\n****************************************************”); printf(“\n****************************************************\n”); int m, n, i, j, a[5][5]; float avg, sum = 0; printf(“Enter no. of rows and columns in the …
Program to find average of elements of a 2D array Read More »