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

Final PCI Microproject

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

Final PCI Microproject

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

Salary Calculator

GROUP LEADER : SAMRUDDHI DAWARI


DIVISION : C
ROLL NO. : 501 , 514 , 537 , 569
GROUP MEMBERS : ASTTHA , PARAM , PRAFULLA
01
INTRODUCTION :
WHAT IS SALARY CALCULATOR ?
● A salary calculator is a tool that helps individuals estimate their net pay after taxes,
deductions, and other withholdings are taken out of their gross income.
● To use a salary calculator, you need to input your gross salary, pay frequency (weekly, bi-
weekly, monthly, etc.), tax filing status, state of residence, and other relevant information
such as retirement contributions, health insurance premiums, and other deductions.
● The calculator will then generate an estimate of your net pay, which is the amount you
will receive after all taxes and deductions have been taken out. This can be useful for
budgeting and planning purposes, as well as for negotiating salary offers or evaluating
job offers.
● Additionally, salary calculators may not take into account other factors such as bonuses,
commissions, or stock options, which can impact your overall compensation.
FACTORS THAT CAN BE FOUND USING SALARY CALCULATOR :

● House Rent Allowance


● Dearness Allowance
● Provident Fund
● Professional Tax
● Gross Salary
● Gross Deduction
● Net Salary

 HOUSE RENT ALLOWANCE : House Rent Allowance (HRA) is an allowance


provided by an employer to an employee to help them meet the expenses of rented
accommodation. HRA is partially exempt from income tax and the exemption amount
varies based on the location of the rented property and the employee's salary. For a metro
city, the HRA is 50% of salary (Basic +DA). For a non-metro city, the HRA is 40% of
salary (Basic + DA).
 DEARNESS ALLOWANCE : Dearness Allowance (DA) is an allowance provided by
the employer to the employee as a cost of living adjustment to help them cope with
inflation. DA is calculated as a percentage of the employee's basic salary and is subject to
tax deductions. Accordingly, the dearness allowance of Maharashtra government
employees will now be increased from 31 to 34 percent of the basic pay.

 PROVIDENT FUND : Provident Fund (PF) is a retirement savings scheme that is


mandatory for most employees in India. Both the employee and employer make regular
contributions to the fund, which earns interest over time. The employee can withdraw the
accumulated amount on retirement or after leaving the job. 12% of the employee's salary
goes towards contribution to Provident Fund.

 GROSS SALARY : Gross Salary is the total amount of salary that an employee earns
before any deductions are made.

 PROFESSIONAL TAX : Professional Tax is a tax levied by the state governments of


India on salaried individuals and professionals. The tax amount varies based on the
individual's income and is deducted from the employee's salary by the employer.
 GROSS DEDUCTION : Gross Deduction is the total amount of deductions made from
an employee's gross salary. This includes deductions for taxes, PF contributions,
insurance premiums, etc.

 NET SALARY : Net Salary is the amount of salary that an employee receives after all
deductions have been made from their gross salary.
02
APPLICATIONS :
The salary calculator is a useful tool for individuals and organizations to calculate the gross
salary of an employee based on their basic salary and applicable allowances.

● For employees: Employees can use the salary calculator to calculate their gross salary,
which can help them understand their take-home pay and plan their expenses accordingly.
It can also be used to negotiate salary with their employers or to compare different job offers.
● For employers: Employers can use the salary calculator to calculate the gross salary of their employees
and ensure that they are paying them fairly based on industry standards and market trends. It can also
help in budget planning and allocation of resources.
● For HR departments: HR departments can use the salary calculator to determine the compensation
package for new hires or to revise the salary of existing employees based on performance or promotion.
● For financial planning: The salary calculator can be used as a tool for financial planning and
budgeting, as it gives an idea of how much a person can expect to earn and save in a particular job
or industry. Overall, the salary calculator is a simple and useful tool that can help individuals and
organizations make informed decisions regarding compensation and financial planning.
03
CODE INFO :
The program prompts the user to enter the basic salary of an employee and then calculates the HRA and
DA based on the given rules. The program then calculates the GS, PF, PT, GD, and NET based on the given
formulas. After the calculation is complete, the program displays a menu of options to the user to select
which information to display (HRA, DA, GS, PF, PT, GD, or NET) or to exit the program. The program
uses a switch case statement to display the selected information or to exit the program. The program
continues to display the menu of options until the user selects to exit the program by entering '0'. Once the
user selects to exit the program, the program displays a 'Thank You' message and terminates.
04
BASIC SYNTAX :
If …. Else Statement :
How Does it work ?

 If the test expression is evaluated to true, statements inside the body of if are
executed. Statements inside the body of else are skipped from execution.
 If the test expression is evaluated to false, statements inside the body of else
are executed. Statements inside the body of if are skipped from execution.

Syntax :
The if statement may have an optional else block.
The syntax of the if …. else statement is:
if (test expression)
{
// run code if test expression is true
}
else {
// run code if test expression is false
}
Switch Statement :
How Does it work ?
 A switch statement causes control to transfer to one labeled-statement in its
statement body, depending on the value of expression .
 The values of expression and each constant-expression must have an integral
type. A constant - expression must have an unambiguous constant integral
value at compile time.
The syntax of the switch statement is:
Syntax :
switch (expression)
​{
case constant1:
// statements
break;
case constant2:
// statements
break; . . . . . . . . . . .
default:
// default statements
}
Do While Loop :
How Does it work ?

 A do while loop is a control flow statement that executes a block of code at


least once, and then repeatedly executes the block, or not, depending on a
given boolean condition at the end of the block.

Syntax : The syntax of the do while loop is:


do
{
// the body of the loop
}
while ( test Expression ) ;
05
OUTPUT :
THANK YOU !!!

You might also like