whescott.blogg.se

Program to find gross salary in java
Program to find gross salary in java





program to find gross salary in java

("Employeeid : "+employeid+"n"+"Employename : "+empname+"n"+"Employee basic salary : "+basicsalary+"n"+"HRA : "+HRA+"n"+"DA : "+DA+"n"+"GS : "+GS+"n"+"Incometax : "+incometax+"n"+"netsalary : "+netsalary) Įmployeobj.read() //calling read functionĮmployeobj. Public void display() //displaying the calculating parameters Write a program to calculate the gross salary of an employee when Basic Salary Rs.8600 DA 20 of Salary HRA 10 of Salary CTA 12 of the Salary.

program to find gross salary in java

Public void calculate() //calculating all the parameters Given an integer basic and a character grade which denotes the basic salary and grade of a person respectively, the task is to find the gross salary of the person. Question: Write a Java program to input basic salary of an employee and calculate its Gross salary according to following: Basic Salary < 10000 : HRA 20. ("Enter the basic salary of an employee") Youll also like: Passing student Object as Parameter in Java Example C Program Calculate Basic Salary and Grow Salary of a Employee Adding the Contents of. ("Enter the employee id") //taking all the inputs from the user Private int basicsalary,HRA,DA,GS,incometax,netsalary







Program to find gross salary in java