Question
Java Program: This interactive program has two parts (a) and (b). You are being asked to develop a program to assist a Philosophy professor in
Java Program:
This interactive program has two parts (a) and (b). You are being asked to develop a program to assist a Philosophy professor in reporting his grades for his PHIL-224.N1 to the Office of Registrar at the end of spring semester. Develop a program to display an introductory paragraph then prompt the user to enter a student record (student ID number and five exam-scores all on one line). The scores will be in the range of 0-100. The sentinel value of -1 will be used to mark the end of data. (a) Your program should compute and store in memory the student average and the corresponding letter grade (A = 90%, B = 80%, C = 70%, D = 60%, F = 0%). For, each student display a box showing ID number, average, and the corresponding letter grade with appropriate labels. The reporting box must be centered (left to right). You can use characters such as * or + to form the sides of the box. (b) The instructor has decided to drop the lowest of the five scores. Your program should compute and store in memory the student average and the corresponding letter grade based on the best (top) four exam-scores. Display in another box, the ID number, new average and new letter-grade with appropriate labels. At the end, display a nice summary report to include the following items with appropriate labels: Number of As, Bs, Cs, Ds, Fs and the total number of records processed. Document your program. Please refer to the sample two-page program that you were given at the start of the semester. Include program description at the top of the program explaining everything (what the program does, what are the inputs, what are the outputs, what type of computation is done, what grading scales are being used, where does the input come from (from a file or from the keyboard - specify), does the output go to a file or to the screen, what marks the end of input and so on. Turn in a copy of the source code (using File, Print options), programs output (using screen shots or using the copy/paste method and the use of Notepad editor and/or MS Word), and the flowchart for part a. Use the following data set as input. Remember that for each of the five exam-scores your program is to output two sets of average and letter-grade (one before dropping the lowest score and one after).
Use the following data set as input. Remember that for each of the five exam-scores your program is to output two sets of average and letter-grade (one before dropping the lowest score and one after).
Student ID # Exam 1 Exam 2 Exam 3 Exam 4 Exam 5
11111 90 90 80 90 90
22222 100 88 87 93 90
33333 80 80 80 80 72
44444 80 0 0 60 70
55555 70 68 66 64 62
66666 77 77 77 66 77
-1
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