Answered step by step
Verified Expert Solution
Question
1 Approved Answer
The net salary of employees of University is calculated based on the following. Net salary = (Basic salary +House rent allowance + Medical allowance +
The net salary of employees of University is calculated based on the following. Net salary = (Basic salary +House rent allowance + Medical allowance + Other allowances)- (Tax paid+Provident paid). The sample salary slip is shown in Figure 2. Write a C++ program to accept the required input, compute the net salary and print the salary slip with all details as example shown. EDUCATION SDN BHD NAME: DAD DEPT #: FACULTY OF ENGINEERING, TECHNOLOGY & BUILT ENVIRONMENT EPF #EDF12345 END APRIL 2011 EMP # 12345 Socso S12345 1 No. 2162002020 Tax : 012345678 Tus Paid Provident Fund 1100.00 Het Allow Medical Allowme Other Allow 100.00 700.00 Grand Sly RM 1248000 Deduction RM 2300.00 Nut Satwy RM 10180.00 Figure 2 Run your program in C++ compiler and check the output of the program for all possible inputs. Screen shot all your outputs and present
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started