25 25 Problem: Calculating Total Scores Objective: Write a program that calculat
ID: 3874508 • Letter: 2
Question
25 25 Problem: Calculating Total Scores Objective: Write a program that calculates the total score for students in a class. Suppose the scores are stored in a three-dimensional array named scores The first index in scores refers to a student, the second refers to an exam, and the third refers to the part of the exam (ORAL, WRITTEN). Suppose there are 7 students, 5 exams, and each exam has two parts-ORAL, WRITTEN. So, scoreslillilIOl represents the score on the ORAL EXAM for the i's student on the i's exam. Your program displays the total score for each student.Explanation / Answer
#include #include #include void main ( ) { struct student { int rn ; int sub[10] ; }; struct student st[50] ; int i, j,n,m,total; float av; clrscr( ); cout n ; coutRelated Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.