Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Mobile Communications

Authors: Jochen Schiller

2nd edition

978-0321123817, 321123816, 978-8131724262

More Books

Students also viewed these Programming questions