Question
Help me unde this assignment Files, Exceptions, and Command line arguments In this task, you will implement everything that you learned from the previous tasks.
Help me unde this assignment
Files, Exceptions, and Command line arguments
In this task, you will implement everything that you learned from the previous tasks. with a folder on the desktop (or you can do this in Replit)
Add the following:
- a java file called AllClasses.java
- 3 text files called ClassA.txt, ClassB.txt, and ClassC.txt
- Populate these 3 text files with random scores. (each file should have different quantities of scores)
Task A:
Report how many students participated in the final among all 3 classes. Calculate the average score for all classes.
Task B:
Calculate how many students failed the exam among all the classes. Grades below 70 are considered failing.
-command line arguments ( input the names of the files at the prompt)
-try/catch block for handling the FileNotFoundException
Submission:
Include snapshots of your code, text files, and all results. Also, test your code and generate a FileNotFoundException.
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