Salary Calculation-Computer Programming-Lab Assignment, Exercises of Computer Programming

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

2011/2012

Uploaded on 07/13/2012

ekbal
ekbal 🇮🇳

3.3

(4)

46 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
Salary Calculation
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
docsity.com

Partial preview of the text

Download Salary Calculation-Computer Programming-Lab Assignment and more Exercises Computer Programming in PDF only on Docsity!

Salary Calculation

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

docsity.com