PAY SLIP GENERATION
1) Faculty (Asst. Professor, Associate Professor, Professor)
2) Non-Academic Staff
3) Consultants
4) Daily-Wagers / Skilled Workers
5) Security Personals
6) Quit
Enter your choice:
If an “1” is entered, prompt the user to take the inputs for calculating the
Salary for Faculty (Asst. Professor, Associate Professor, Professor) and
Generating the pay-slip. If “2” is entered prompt the user to take the inputs for
calculating the salary for Non-Academic Staff and generating the pay-slip. If
“3” is entered prompt the user to take the inputs for calculating the salary for
Consultants and generating the pay-slip. If “4” is entered prompt the user to
take the inputs for calculating the salary for Daily- Wagers /Skilled Workers
and generating the pay-slip. If “5” is entered, prompt the user to take the
inputs for calculating the salary for Security Personals. If “6” is entered, it
should exit from the program. If the user enters any letters or numbers other
than the choice, redisplay the prompt. All outputs should go to the terminal
and all input should come from the keyboard.