Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Must read from a file of student's first and last name plus 5 grades. Average the grade and output to screen and output to a
Must read from a file of student's first and last name plus 5 grades. Average the grade and output to screen and output to a file.." user's name all 5 scores plus the average. " also print to console. You should be able to pass grades to a function that will do the average and return avg. ( you can try the CMATH library if you want to give that a try... Create a void function to print a row of " " before and after output. To console and file. Program must do and if else test on success of opening of file for writing? Print to console error or success message Should be challenging and hopefully somewhat fun
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