Question: C S C 2 2 2 File I / O and Exception Handling Create a program reading in grades from the provided text file: After

CSC222
File I/O and Exception Handling
Create a program reading in grades from the provided text file:
After reading in the data, display the following information to the user:
Grade Count
Invalld Grade Count
Average grade
Implement exception handiling for the following scen arlos:
Grade is not between 0-100 Qutput "Out of range. ?N
Grade is not an integer. Qutput "Invalid Grade"
Sample Output:
Trom1 id fr"mes
Errate out of renge
|rrabe abl at mande
Trwa1 id freanes
Invalid Brace
Inval1d braget
Crace out of parge
Erace out ol renge
Create an output file called report.txt and display the sample output In the text file as well.
Sample Output:
******* GRAUE RESULIS * w *****
Grade Count:
2 C.
InvaLid Grades:
15
Grade Average: 77
Submit your .java file or program with the input/output text files. concaterat_on
34
9999
56
101
encmp=u1=ton
ab=taction
ga
56
Exank
90
4
ag
110
polymorph ism
55
100
96
ingtantiation
74
82
\epsilonmp@\pi\t\n
Bs
3E
6=
98
123
s5
1
61
93
inter{ace
 CSC222 File I/O and Exception Handling Create a program reading in

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!