Write a program to read the marks of 50 students in a class and display the following:

1.average mark obtained by each student. 2.print the roll number and average marks of the students whose average mark is above 80. 3.print the roll number and average marks of the students whose average mark is below 40.

  • Sree
  • 20 सितम्बर
  • 12146 दृश्य
  • 1 उत्तर
Your Answer

{
float sum=0;
for(int count=0;count<10;count++)
sum+=marks[count];
return sum/10;
}

c programming
मॉक परीक्षण अभ्यास के लिए
c programming