
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Kusum Megana assigned this task in lab of Introduction to Computer Programming course at Biju Patnaik University of Technology, Rourkela. It includes: Salary, Calculation, Private, Company, Allowance, Basic, Pay, Requirement, Computer, Operator
Typology: Exercises
1 / 1
This page cannot be seen from the preview
Don't miss anything!

Mr. X is running a private company and has many workers of different ranks working there. He pays different allowances to his workers along with the basic pay e.g. house rent, medical allowance and conveyance allowance. He has an accountant in company who calculates the net salary of employees manually so the process is slow. Mr. X wants to make a computer program from you which automate the process. Your program should store the basic pay of 10 employees and then calculates and display the net pay of each employee separately and store the net pay of each employee as well, calculate the average net pays for the company that employees earned and company paid in a particular month. House rent is 45% of the basic pay Medical allowance is 2% of basic pay if basic pay is greater than Rs. 5000/- It is 5% of basic pay if the pay is less than Rs. 5000/- Conveyance allowance is Rs. 100/- if basic pay is less than Rs. 5000/- It is Rs.150/- if the basic pay is more than 5000/- Net pay is calculated by adding all allowances and basic pay Repeat the process according to the requirement of the computer operator