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 test scores for five 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
tableArraysStudent Names,Scores,AveragesName of array,studentsjdscoresjdaveragesjdSize of array, or 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.
tableFunctionsRead Input File,Calculate Average,Output ResultsName of function,getjdcalcjdprtjdProperties of function,Called from main,Called from main,Called from mainDefinition of Function,tableShould pass scores arrayand add data to arraytableShould pass scores andaverage arrays. And addaverages to arraytableShould pass students,scores and averagearrays and print data
Data file should be named datajdtxt
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
