Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: administration903/Java_programs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: administration903/Java_programs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: administration903-patch-2
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Dec 27, 2021

  1. Add files via upload

    - Create an Employee class wiith data members employee_no, emp_name, address, contact_no, basic_salary, project_id and age. Include methods to calculate net_salary, allowances and deductions. Input the basic information from the user and then create object of this class. Display the details about the user. Also apply constraints that age of employee should be more than 21 years and basic_salary > 8000. Rules for calculating allowances are: if basic_salary>8000<10000 then hra is 1000, if basic_sal>10000 and <=20000 then hra is 800 and if basic_salary>20000 then hra is 500 and DA if basic_salary>8000and <10000 then hra is 500,if basic_sal>10000 and <=20000 then da is 1000 and if basic_salary>20000 then da is 2000. Deductions: 10% of basic_salary.
    administration903 authored Dec 27, 2021
    Configuration menu
    Copy the full SHA
    c721607 View commit details
    Browse the repository at this point in the history
Loading