JAVA: Create a school registration menu. This menu should display the name of th
ID: 3695074 • Letter: J
Question
JAVA: Create a school registration menu. This menu should display the name of the school, a welcome message, and a way for students to log in. Include your name as part of the college name.
Students Log-in. Prompt the user for their name and student ID. Ensure that the ID is in the proper format: A five-digit number that begins with 9. If it is not valid, present an error message until it is valid.
Class List. After students log in, present a list of classes. Classes are located in a text file classList.txt that contains the following information separated by commas: class name, class number, professor, credit hours and seat left. Read the file and store contents into some type of list, array or queue. Display the class list and allow student to select one or enter the class number of the requested class for registration.
Class Availability. There is a limit of no more than five students per class. This is a very small and exclusive school. Notify the student if the selected class is full. Once a student registers for the class, update the number of available seats and write this information back to the file.
Calculate Registration Cost: The cost of classes is $500 per credit unit. There are addictional one time only fees each semester: Activity fee- $10, health fee-$15. Technology Fee-$20, and an institution fee of $100. Calculate the student's cost for classes
Confirm Registration and present cost. Present student with a bill. Make sure the bill is itemized, showing the student's name and id, listing classes the student has registered for with cost per class, and showing the additional semester fees. Display cost.
Include Comments in your source code. Have a block comment header at the beginning of your program with this info: Class Name, Class Number, Instructor, Date, and Your Name. include some meaningful Comments in your program at a minimum you'll need include a comment before your methods explaining what you're doing.
Test each feature to demonstrate your program works.
TXT FILE is at the top
Explanation / Answer
------------------------------------
H5FormValidation.html
JSFormValidation.html
JSFormValidation.css
JSFormValidation.js
JQFormValidation.html
JQFormValidation.js
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.