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

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 Programming Questions!