Use pseudocode to describe a function you\'d write to read in a text file of stu
ID: 3680531 • Letter: U
Question
Use pseudocode to describe a function you'd write to read in a text file of student grades and calculate averages for each student. The figure below shows you how the data file is formatted (NOTE: this is a SAMPLE of the data set, NOT the complete data set -- you do not know how many students the file contains records for):
Each student should have 15 scores. However, some students did not complete all the assignments, and these students will have fewer than 15 scores. The missing scores should be counted as zeros.
Using pseudocode means that you do not have to worry about correct Java syntax. For example, you may use descriptions such as "create Scanner" "read first line from data file." Your programmatic logic, however, should be correct.
Steven 93 Melissa 85 Rose 100 Stevan 75 Charles 83Explanation / Answer
Please find the full code below :
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.