I need help implementing 2 parts that i would like to add/fix: 1. Display all of the
Question:
I need help implementing 2 parts that i would like to add/fix:
1. Display all of the array list as option 8 in the main menu.
I have an option 4 which outputs the "students.csv" but i want to make a new option 8 that outputs ALL of the "student.csv" and the "marks.csv".
// For example it outputs this // When user enters option 8 Enrollment Type: C First name:John Last name:Smith ID:111 Unit ID:ICT123 Overall marks: 66.25 Final Grade:C Enrollment Type: C First name:Peter Last name:Jordon ID:222 Unit ID:ICT123 Overall marks: 65.95 Final Grade:C
Option 6 does this, but its only for 1 student. So i'm trying to figure out how to do it for all students.
2. I want to ask the user to add the following:
- Enrolment Type
- First name
- Last name
- Student ID
- Unit code
- Unit level
- Assignment 1 mark
- Assignment 2 mark
- Final mark
So, when the user enters their enrolment type (which is either C or M) it will grade them based on that type. For example, the user enters:
c John Baa 123 ICT123 1 90 80 70
The student will be graded based on the enrolment type. Thus, "C" means the overall marks and final grade (shown in the 1st text box) the "Unit_common" will grade it.
Thus if "M", "unit_major_ will grade it.
// student.csv file C,John,Smith,111 C,Peter,Jordon,222 C,David,Jackson,333 M,Bob,Johnson,444 M,Eric,Trump,555 M,Gary,Kenny,666
// marks.csv file 111,ICT123,1,70,80,15,76 666,ICT213,2,70,56,8,65 333,ICT189,1,65,72,12,58 555,ICT213,2,70,67,9,70 222,ICT123,1,85,72,14,67 444,ICT321,3,80,70,10,75
Here is my code: https://drive.google.com/drive/folders/1kNLkq9HkTzj0Nl2JHTXznpS-3EFnPpTl?usp=sharing
Personal Finance Turning Money into Wealth
ISBN: 978-0134730363
8th edition
Authors: Arthur J. Keown