Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction to Wireless and Mobile Systems

Authors: Dharma P. Agrawal, Qing An Zeng

4th edition

1305087135, 978-1305087132, 9781305259621, 1305259629, 9781305537910 , 978-130508713

More Books

Students also viewed these Programming questions