Menu
support@authoritypapers.com
+1(805) 568 7317

i want the solution by object method and class you will make a course registration s 5189493

I want the solution by object, method and class

You will make a course registration system for course management actions (register, withdraw, display, etc.) First, you are going to make a login screen with default username and password (admin, admin) Welcome to Course Registration System Login Username: admin Password: admin If username and password are incorrect you must display an error message Wrong username or password! If they are correct, display the following option Choose your role 1. Registrar 2. Student • Here you will choose 1 (Registrar) and display this menu Registrar Menu 1. Add Course 2. Update Course 3. Delete Course 4. Display Specific Course 5. Display All Courses 6. Exit • Now you’re going to make methods for each operation with the following method naming: o public static String addCourse(){…} o public static String updateCourse(int id){…} o public static String deleteCourse(int id){…} o public static void displayCourse(int id){…} o public static void displayAllCourses(){…} • Each course contains the following info (number – name – hours) • Before adding any course, you will create some arrays for each course info, the default size of the arrays is 3 and the first element (position 0) will be filled with the following course info: CSCI1104 – Programming 1 – 1 • When you are adding a course, you will save course information in the arrays. • After each operation: add, update or delete a course you will return and display a successful message Course added/updated/deleted successfully • If there’s an error in some operation like that you cannot add a new course because the array already has 3 elements or that you cannot delete a course because the array is empty you should display an appropriate message o You cannot add new course! (array is full 3/3) o You cannot update/delete course (array is empty) • When deleting a course, you will adjust the array size • Displaying courses should be in the following format: All available courses CSCI1104 – Programming 1 – 1 CSCI1106 – Web Development – 2 • Here you will choose 2 (Student) and then ask for his info Enter your name: Ali Enter your id: 123 Enter your age: 20 Enter your email: ali@gnail.com • Each student contains the following info (name – id – age – email – cid) • You will store the student info in an array • Then display this menu Student Menu 1. Update Student 2. Delete Student 3. Display Student 4. Register Course 5. Withdraw Course 6. Exit • Each student contains the following info (name – id – age – email – cid) • You will store the student info in an array • Then display this menu public static String updateStudent (int id){…} public static String deleteStudent (int id){…} public static void displayStudent (int id) {…} public static String registerCourse (int id , int cid) {…} public static String withdrawCourse (int id , int cid) {…} • Before registering any course, you will create some arrays to store the courses info • Each course will have (id, name, hours) 100 – Programming 1 – 1 101 – Web Development – 2 • After each operation: update, delete, register or withdraw you will return and display a successful message Student updated/deleted successfully Course registered/unregistered successfully • If there’s an error in some operation like that you cannot register a new course because the student already has registered course or that you cannot delete a student because the array is empty you should display an appropriate message You cannot register a new course! (a course is already registered)

"Order a similar paper and get 15% discount on your first order with us
Use the following coupon
"GET15"

Order Now