Inbound 1279725769684558610
Inbound 1279725769684558610
Update, delete, and View student records using arrays. The program should be menu-
driven, repeat until the user chooses to exit, and follow object-oriented practices
with classes and methods.
3. Update Student
-Prompt the user to input the record slot number to update.
-If the slot contains a valid student:
-Ask for new First Name, Middle Name, Last Name, Gender, Age, and Monthly
Salary.
-Update the details and display the updated full name in toUpperCase().
-Show a success message.
-If the slot is invalid, display Error: Empty Slot.
Note: Use different class such as (main, main option, add records, update records,
view records, etc...)
=======================================================
Sample Output:
===================================================================================
===========
Welcome to University of Northern Philippines
===================================================================================
===========
(1) View
(2) Update
(3) Delete
(4) Add
(5) Payroll
(6) Exit
Enter the number of your choice: 4
===================================================================================
Welcome to University of Northern Philippines
===================================================================================
===========
ID Number First Name Middle Name Last Name Gender
Age
(1) Empty Empty Empty Empty Empty 1
(2) Empty Empty Empty Empty Empty 1
(3) Empty Empty Empty Empty Empty 1
(4) Empty Empty Empty Empty Empty 1
(5) Empty Empty Empty Empty Empty 1
(6) Empty Empty Empty Empty Empty 1
(7) Empty Empty Empty Empty Empty 1
(8) Empty Empty Empty Empty Empty 1
===================================================================================
===========
Enter the slot you want to ADD: 1
(1) View
(2) Update
(3) Delete
(4) Add
(5) Payroll
(6) Exit
(1) View
(2) Update
(3) Delete
(4) Add
(5) Payroll
(6) Exit