Java program to compute employee’s net salary,HRA,DA and GS

In this article let’s learn how to calculate the net salary of an employee by considering the parameters called HRA(House rent allowance),DA(Dearness allowance),GS (Gross salary)and income tax. Let us assume some parameters.
HRA=10% of basic salary
DA=73% of basic salary
GS=basic salary+DA+HRA
Income tax=30% of gross salary
net salary= GS-income tax

Algorithm:
1)Start
2)Take the input from the user as employee name,id and basic salary
3)Calculate the the above parameters DA,HRA,GS,income tax and net salary
4)Display the output
5)Stop

Code goes here:

Have a nice day.Thank you visit again

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Advertisment ad adsense adlogger