In: Computer Science
Alogarithm for calculating Net Salary:
step - 1 : Enter the base salary
step - 2 : Enter the allownaces
step - 3 : Enter the melting money
step - 4 : Enter the Taxes
step - 5 : Enter the credit deductions
step -6 : Add the allowances, melting money,taxes and credit deductions
step - 7 : subtract the added amount from the bases salary
step - 8 : The remaing amount is the net salary
example :
assume,
base salary = $30,000
allowances = $4500
melting money = $ 3000
taxes = $ 1000
credit deductions = $5000
Net salary = base salary - (allowances + melting money + taxes + credit deductions)
Net salary = $30000 - ($4500+$3000+$1000+$5000)
Net salary = $16500
Flow chart for calculating Net Salary :
----------------------------------------------------------------------------------
Kindly comment your queries if any,upvote if you like it. Thank You!!