Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The Problem: You are assigned to design a grading system for a student in a university. You must fulfill all the requirements of the grading

The Problem: You are assigned to design a grading system for a student in a university. You must fulfill all the requirements of the grading system. The university has a pretty basic version of letter grading, A (>=90), B (=80), C (=70), D (=60), F (<60). Student get scores for each class in numbers (out of 100). Full score for each subject is 100. Each student can take any number of classes in each semester in this university. Your grading system must consider the following actions: 1. It should be able to take a students name as a user input. 2. It should prompt for the number of subjects (should be an integer) the student has taken, as a user input. 3. It should ask the user to provide names and scores of each subject. Each score must be numerical and out of 100 (i.e. between 0 to 100). Please note that, user will only input numerical scores, NOT the letter-grades. 4. For each subject, your program should determine and assign a letter grade based on the score ranges discussed above. 5. Once you take all the inputs, the grading system should first print all the subject names, numerical scores, and assigned letter-grades. 6. It should print the total score for that student. The total score is calculated by adding all the scores of all the course for that student. 7. It should print the highest score of that student. 8. It should print average score for that student. 9. It should print the average letter-grade (based on the average score) for that student. This assignment requires only a single public class GradingSystem, which will be in the file GradingSystem.java in the GradingSystem project in Eclipse. You can develop this class without using any class variables, instance variables, or instance methods This program can be implemented using only a few local variables, user inputs, and arrays. Neither array lists, nor any other complex objects are required, but you may use them if you wish. You must use the if-else conditions, for loop, and switch condition inside your code. The GradingSystem class can consist of multiple methods: main() and few support methods, as per your wish. Please DO NOT use command line arguments. All the support methods should be a static (i.e., class) method with suitable return type. You may give support methods any name you wish, as long as it is a valid Java identifier. All the outputs should report to the console in the format shown below.

(The code has to be in Java)

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

Databases And Python Programming MySQL MongoDB OOP And Tkinter

Authors: R. PANNEERSELVAM

1st Edition

9357011331, 978-9357011334

More Books

Students also viewed these Databases questions

Question

What is job rotation ?

Answered: 1 week ago