Question: Write a Java program that stores the name and marks of five students in five different subjects (You may use the names of the modules

Write a Java program that stores the name and marks of five students in five different subjects (You may use the names of the modules you are studying) and displays the mark sheet of the given student.
You need to write a class for student and create the required number of student objects of that class.
If the given student name does not exist, the program should display the message as the named student does not exist.
You can assume the marks (aggregate) ranges for different grades as: 0-40 (F Grade), 41-50 (D Grade), 51-60 (C Grade),
61-75 (B Grade), 76-90 (A Grade), 90-100 (A+ Grade)
A sample mark sheet that can be output is given below.
Name : SAMUEL
FCS marks : 90
DS marks : 85
IS marks : 80
SD marks : 90
MRKTNG marks : 100
Total=445.0
Aggregate = 89.0
Result = PASS
Grade = A
Remember that, as mentioned in the problem, you need to use object-oriented approach (i.e. use classes and objects) to solve this problem.

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!