Write a program named AverageGrade that reads a text file ( attached ) that contains a grade (for instance 87) on each l

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Write a program named AverageGrade that reads a text file ( attached ) that contains a grade (for instance 87) on each l

Post by answerhappygod »

Write A Program Named Averagegrade That Reads A Text File Attached That Contains A Grade For Instance 87 On Each L 1
Write A Program Named Averagegrade That Reads A Text File Attached That Contains A Grade For Instance 87 On Each L 1 (47.8 KiB) Viewed 30 times
Write a program named AverageGrade that reads a text file ( attached ) that contains a grade (for instance 87) on each line. The program should calculate and print the average of the grades. Note that the text file has an erroneous input in it. Your program should handle the erroneous input as follows: 82.a is an invalid grade, skipping The average grade is ***(display average skipping erroneous input)*** Attach the file. Rubric: program able to handle valid input (no erroneous input): 11 program able to skip erroneous input and display a message, accordingly: 4 Maximum file size: 100MB, maximum number of files: 1 !!!
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply