Question
Part A: Write a program which will uses the file class.Data.txt containing student names and the points they had earned at the end of the
Part A:
Write a program which will uses the file class.Data.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. Upload Grade.java, a screenshot of you program execution and the GradeReport.txtfiles to canvas.
The information in pointsToGrade.txt file shows how to convert points to the letter grade earned.
Note: all data files mentioned may be downloaded from the Canvas files area.
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
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