This C program calculates the average marks of 10 students. It uses a for loop to input each student's mark between 0-100 into an array, and another for loop to output each mark and calculate the total sum. It then divides the sum by 10 to get the average marks, and prints the result.
This C program calculates the average marks of 10 students. It uses a for loop to input each student's mark between 0-100 into an array, and another for loop to output each mark and calculate the total sum. It then divides the sum by 10 to get the average marks, and prints the result.
This C program calculates the average marks of 10 students. It uses a for loop to input each student's mark between 0-100 into an array, and another for loop to output each mark and calculate the total sum. It then divides the sum by 10 to get the average marks, and prints the result.