Design a computer software application that reads a data file containing the homework grades for a student. Your
program must calculate the average homework grade for that student and also display the highest and lowest grades
that were read from the data file. Create a pseudocode design for a computer program with the following
specifications.
Specifications
Read a data file containing all of the homework grades for a student
Calculate and display the average homework grade
Keep track of and display the lowest grade that was read from the file
Keep track of and display the highest grade that was read from the file
Notes: The input file format will contain all the homework grades for a student. The number of grades in the file could
vary. Your design must work for any number of grades in the file. You will need to use the following variables in your
design (or something similar): CurrentGrade, GradeTotal, AverageGrade, HighestGrade, LowestGrade
Add additional variables if you need them. Do your calculations within a loop and display the results after the loop
completes.
Sample data file: 99, 100, 85, 92, 97... (etc)
Milas_1 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.