Question: 1. Mr. Saud is a software developer in BAHAWAN IT Solutions Company. He has to develop the Payroll system for the company. Write the Pseudocode/Algorithm
1. Mr. Saud is a software developer in BAHAWAN IT Solutions Company. He has to develop the Payroll system for the company. Write the Pseudocode/Algorithm and draw the flow chart to display the NET SALARY (Note:- The Net Salary =
Basic Salary + TA + HRA)
- Enter the employee information from the keyboard as given below:
- Employee id
- Employee name
- Employee Gender(M/F)
- Employee Basic salary
- If Employee Gender is M then Calculate and display the following:
- The number of sick leaves = 8
- Travel Allowance(ta) = 15 % of his Basic Salary
- House Rental Allowance (hra)= 30% of his Basic Salary
- Net salary
- > If Employee Gender is F then Calculate and display the following:
- The number of sick leaves = 10
- Travel Allowance(ta) = 25 % of her Basic Salary
- House Rental Allowance (HRA)= 15 % of her Basic Salary
- Net salary
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
