0% found this document useful (0 votes)
27 views

Assignment For Practice of Students

The document contains instructions for an assignment to write a C++ program that calculates income tax for employees. It provides details on allowances calculated based on basic pay and conveyance allowance. The program output displays salary breakdown, annual income, total tax, monthly tax, and net monthly salary for an example employee. It also includes a tax calculation criteria table specifying tax rates based on taxable income thresholds.

Uploaded by

Muhammad Ali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
27 views

Assignment For Practice of Students

The document contains instructions for an assignment to write a C++ program that calculates income tax for employees. It provides details on allowances calculated based on basic pay and conveyance allowance. The program output displays salary breakdown, annual income, total tax, monthly tax, and net monthly salary for an example employee. It also includes a tax calculation criteria table specifying tax rates based on taxable income thresholds.

Uploaded by

Muhammad Ali
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

Govt.

College University, Lahore


Assignment No. 1
Instructions

 Please read the instructions carefully before submitting the assignment:


 Assignment will be submitted before or on due date 15-05-2014.
 Do not copy from others or internet or any other source.
 You will submit your assignment source code in C++
 Files that will not generate errors at the time of presentation will be
graded zero marks.

Objectives

 Build up students’ problem solving skills


 To introduce students with the use of variables and selection statement

Assignment Statement

Write a program that will input Name, Designation (T for teachers), Basic Pay,
Conveyance Allowance, and Qualification Pay. Following Allowances will be
calculated based on Basic Pay and Conveyance Allowance.

Allowances Criteria
House Rent Allowance 45% of Basic Pay
Medical Allowance 15% of Basic Pay
Adhoc Relief Allowance 50% of Basic Pay
2010
Adhoc Relief Allowance 20% of Basic Pay
2012
Adhoc Relief Allwoance 10% of Basic Pay
2013
Maintenance Allowance Rs. 500 if Conveyance Allowance is
Less than Rs. 2000

Based on the above criteria Program will calculate the annual income of
employee and then determine the Total Tax for the year as per given criteria
(Table B). Program will calculate the monthly tax and then display net Salary.
Program Output

Tax Calculator

Name: Muhammad Safyan

Designation: T

Salary

Basic Pay 20000

Conveyance Allowance 5000


House Rent Allowance 9000
Medical Allowance 3000
Adhoc Relief Allowance 2010 10000
Adhoc Relief Allowance 2012 4000
Adhoc Relief Allwoance 2013 2000
Maintenance Allowance 0
Monthly Salary 53000
Annual Income 636000
Total tax 11800
Rebate 40% 4720
Net Tax 7080
Monthly Tax 590
Net Monthly Salary 52410
Tax Calculation Criteria
Sr. No. Tax Criteria Tax Rate
1 Where the taxable income does 0%
not exceed Rs. 4000,000

Where the taxable income does


not exceed 750,000 (for
females only)
2 Where the taxable income 5% of the amount exceeding
exceeds Rs. 400,000 but does Rs. 400,000
not exceed Rs. 750,000
3 Where the taxable income Rs. 17,500 + 10% of the
exceeds Rs. 750,000 but does amount exceeding Rs. 750,000
not exceed Rs. 1,400,000
4 Where the taxable income Rs. 82,500 + 12.5% of the
exceeds Rs. 1,400,000 but does amount exceeding Rs.1,
not exceed Rs. 1,500,000 400,000
5 Where the taxable income Rs. 95,000 + 15% of the
exceeds Rs. 1,500,000 but does amount exceeding
not exceed Rs. 1,800,000 Rs.1,5400,000
6 Where the taxable income Rs. 140,000 + 17.5% of the
exceeds Rs. 1,800,000 but does amount exceeding
not exceed Rs. 2,500,000 Rs.1,800,000
7 Where the taxable income Rs.262,500 + 20% of the
exceeds Rs. 2,500,000 but does amount exceeding
not exceed Rs. 3,000,000 Rs.2,500,000
8 Where the taxable income Rs. 362,500 + 22.5% of the
exceeds Rs. 3,000,000 but does amount exceeding
not exceed Rs. 3,500,000 Rs.3,000,000
9 Where the taxable income Rs. 475,000 + 25% of the
exceeds Rs. 3.500,000 but does amount exceeding Rs.
not exceed Rs. 4,000,000 3,500,000
10 Where the taxable income Rs. 600,000 + 27.5% of the
exceeds Rs. 4,000,000 but does amount exceeding Rs.
not exceed Rs. 7,000,000 4,000,000
11 Where the taxable income Rs. 1,425,000 + 30% of the
exceeds Rs. 7,000,000 amount exceeding Rs.
7,000,000

NOTE: 40% Tax rebate would be given to Teachers

You might also like