(solved)I am having difficulty completing this code. Validate the user course selection for registration against the given registration business rules The…. . . . .

I am having difficulty completing this code. • Validate the user course selection for registration against the given registration businessrulesThe requirements of this application are as follows. The application is register students forcourses in a term of study.The assumptions used by the application are:• Student enters only integers to select courses for registration from a menu. No data typevalidation of the user menu selection is checked or required• Each course carries 3 credit hours• The program terminates only when the student closes itThe program must follow these registration business rules:• No registration of other courses not displayed by the program• No registration more than once for the same course• No registration for more than 9 credit hours (e.g. no more than 3 courses)The application uses Java methods for its implementation. Students select from a menu ofcourses for which they wish to register. The program then validates the user selection againstthe registration business rules. If the selection is valid, the program prints out a confirmationmessage. Otherwise, the program prints an error message. In all cases, the program also printsout the current list of registered classes. The program terminates when the user does not wantto register for classes any more.The program uses the Java method ValidateChoice() to validate the user integer menu selectionand acts accordingly. If the user selection is valid against the registration business rules, theprogram displays a registration confirmation message to the student for the selected course.Otherwise, the program displays an error message explaining the reason of the invalidation ofthe selection. The application maintains and displays a current list of registered courses.Use these course codes, in this order, to test your application:• IT2230 IT3349 IT2230 IT4782 IT4784

Expert Answer


Answer to I am having difficulty completing this code. Validate the user course selection for registration against the given registration business rules The… . . .

OR
Order Now
×

Hello!

Click one of our contacts below to chat on WhatsApp

× How can I help you?