Question: JAVA (files are below) Part A: Write a program which will uses the file classData.txt containing student names and the points they had earned at

JAVA (files are below)

Part A:

Write a program which will uses the file classData.txt containing student names and the points they had earned at the end of the class. The program should use one or more arrays to create a report with the following information:

-A table containing the student name, total points they earned and the letter grade that would be given.

-The student with the highest score and the average points earned and average letter grade given

You may use single single dimension arrays, multi-dimension arrays or both.

Save your report to a file called GradeReport.txt

Name your program Grade.java.

The information in pointsToGrade.txt file shows how to convert points to the letter grade earned.

Part B:

Write a program that will prompt the user to enter a decimal integer number(base 10) and will return the binary(base 2) for that number. You may use the Java Integer.toBinaryString(int) in your program. Use test values in the file testDecimalNumbers.txt

Here are the files needed.

classData.txt

John, Hamid, Tracy, Albert, Ana, 308, 370, 331, 336, 321

pointsToGrade.txt

A+ 388-400 B+ 340-359 C+ 308-319 D 252-267 A 372-387 B 336-339 C 280-307 D- 240-251 A- 360-371 B- 320-335 D+ 268-279 F <240

testDecimalNumbers.txt

105 255 86 9015 33 12 152 0

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!