Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Part II - Finding the average score (15 Points) Write a program to calculate the average scores of the students. Your program should read input
Part II - Finding the average score (15 Points) Write a program to calculate the average scores of the students. Your program should read input from a file Each line of the file contains the username of the student (1 word) followed by 5 quiz scores Your program will read input from file and calculate the average scores for each student. Your program will write the output in another file. . In the output file, your program should write the student name followed by their average score. Your program will do the following: 0 Ask user for an input file name o Read the name and quiz scores from the file o Calculate the average score for each student 0 Ask user for an output file name Write the username followed by the average score of the student in the output file
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started