Asked by bill
                write a program that will calculate the average of the total marks scored by 10 students, if each student has done 4 exams.
            
            
        Answers
                    Answered by
            Steve
            
    int scores[10,4],sum,s,i
real avg
sum=0
for s=1..10
print "Enter the 4 scores for student #",s,": "
read scores[s,i] for i=1..4
for i=1..4 sum += scores[s,i]
next s
avg = sum/40
    
real avg
sum=0
for s=1..10
print "Enter the 4 scores for student #",s,": "
read scores[s,i] for i=1..4
for i=1..4 sum += scores[s,i]
next s
avg = sum/40
                                                    There are no AI answers yet. The ability to request AI answers is coming soon!
                                            
                Submit Your Answer
We prioritize human answers over AI answers.
If you are human, and you can answer this question, please submit your answer.