Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

#inelude {iestream} #inelude {iemanip} #inelude {fstream} using namespaee std; int main{} { I int K; ifstream inFile;...

Createa data file named "grades.txt". Use a text editor (such as Windows Notepad, Apple textEdit, or Linux nano) or the editor within a compiler (such as Dev-C++, or Microsoft Visual Studio Express) to enter the following 28 data values (separated by blank spaces) and save them on your drive in a file named "grades.txt":

63 75 121 72 72 78 67 -9 80 63 75 90 89 43 59 93 82 -113 33 97 202 40 60 55 88 91 101 66

Ultimately, this file should be stored in the same folder as the executable program file.

Problem to be Solved:

Writea program to read (from a text file) a collection of exam scores. Your program should sort the scores in ascending order and display them in a column. Each score should be followed by a word that indicates its category, such as "Invalid" or "Satisfactory". The program must also count and display the number of "outstanding" scores (90 - 100), the number of "satisfactory" scores (60 - 89), the number of "unsatisfactory" scores (0 - 59) and the number of "invalid scores" (less than 0 or greater than 100).

The program should also determine and display the average score (with 2 decimal digits), the highest score, the lowest score, not including the invalid scores.

The program should display output starting at the top of the screen with your name followed by some column headings to identify the output. Be sure to include remarks identifying the author, date written, and what the program does.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question