Hi,
I am trying to create a program that stores employee records in an array, and also has the option to delete records and view various details.
I am trying to create a menu so that when you choose an option the request will be carried out, the problem I have is that I have a option that allows me to add a new employee to my array, but every time I select the option and enter the new employee details it keeps overriding the information stored in the 1st array position , instead of adding the new employee details into the next array position so I can not have more than 1 record when I should be able to store 10.
Any help would be very much appreciated as I feel like I have been banging my head against a wall for the last 2 days.
My code so far is:
attached