I have an assignment and I am not sure about my answer ..
The qustions are:
Write a java program that allow te user to enter Student ID , Student Name , Course title , Course marks and calculate the GPA of course he/she is takingg?
The program should do the following:
- Display all the input. -Assume each student has taken 10 courses.Use loop to read all course marks. -Classify the student mark as follow: - If the mark is between 4.0 & 3.5 then it result as A - If the mark is between 3.5 & 3.00 then it result as B - If the mark is between 3.00 & 2.5 then it result as C - If the mark is between 2.5 & 2.00 then it result as D - If the mark is 1.0 then it result as F
-Identify in which course the student get maximum marks. Display both course name and mark.
I have solve it but without using arrays and I find it very long .