Question: Student ID ending with an Even Number Write a program that will find the class average of fifteen ( 1 5 ) test scores for

Student ID ending with an Even Number
Write a program that will find the class average of fifteen (15) test scores for five (5) different tests. The class average must be stored into an integer array.
You are to have three separate arrays:
Note: jd represents the initials of the programmer. Your array and function names should be named by replace the initials jd with your first and last initials
\table[[Arrays],[,Student Names,Scores,Averages],[Name of array,students_jd,scores_jd,averages_jd],[Size of array,15,[15][5],15 or [5]],[Data for array,Initialized in code,Read from data file,Calculated and stored]]
Excluding the main function, your program should have three additional functions that will get the scores, calculate the averages and display your output.
\table[[Functions],[,Read Input File,Calculate Average,Output Results],[Name of function,get_jd,calc_jd,prt_jd],[Properties of function,Called from main,Called from main,Called from main],[Definition of Function,\table[[Should pass scores array],[and add data to array]],\table[[Should pass scores and],[average arrays. And add],[averages to array]],\table[[Should pass students,],[scores and average],[arrays and print data]]]]
Data file should be named data_jd.txt
Student ID ending with an Even Number Write a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!