Write C++ program to read the scores of 10 students and print the average, number of faild and passed students ?
Is this your assignment? Have you tried anything? I can give you algorithm for this.
1) Take information of 10 students from user
2) Now use simple average function like avg = sum of scores of 10 students/no. of student
3) There must be some score limit given to analyse pass and fail criteria. Use one condition: if(score < limit) student is failed else student is passed. You can use array and counter for that.
4) print all of them
Regards
PS Read posting guidelines