Skip to content

Challenge 5. This is a Java program that calculates the final salary of an employee based on their basic salary, daily payment, and allowances deducted for EPF. It creates three threads to perform different tasks, calculates the allowances and EPF deductions, and then outputs the final salary.

Notifications You must be signed in to change notification settings

KavidiDeSilva/FinalSalary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 

Repository files navigation

FinalSalary

Challenge 5

This Java program calculates the final salary of an employee based on their basic salary, daily payment, and number of working days. It uses multithreading to calculate the allowances and EPF contributions separately, and then adds them to the basic salary to get the final salary.

To use the program, simply run it and enter the payment per day and number of days when prompted. The program will then output the basic salary, allowances, EPF contribution, and final salary.

This program can be useful in various payroll systems where the calculation of allowances and EPF contributions needs to be done separately and concurrently.

About

Challenge 5. This is a Java program that calculates the final salary of an employee based on their basic salary, daily payment, and allowances deducted for EPF. It creates three threads to perform different tasks, calculates the allowances and EPF deductions, and then outputs the final salary.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages