I am supposed to be doing a payroll system for a friend, it's only a little play about one. He asked me for the inputs to be as followed:
Senior Staff:-
Enter employee name
Enter Annual salary
Salaried Staff:-
Enter employee name
Enter Annual salary for employee
Contract Staff:-
Enter employee name
Enter hourly rate for employee.
I've tried my best, but am getting confused at the switch statements etc. Any easier way to do it?
What part of the switch statement are you confused about? Do you have any code you can post?