clrscr(); for ( i=1;i<=5;i++) { printf("enter number\n"); scanf("%f",&x); sum += x; avg=sum/5; } printf("Average = %f",avg); getch(); }
E.Commerce
Training@balujalabs
Franchise Section
To input element of a matrix and display them.
To find highest and lowest element in an array.
20. Given an arrays X [6][6] who base address is 100. Calculate the Locations X [2][5] if each elements occupies 4 bytes and array is stored row-wise.