Skip to content

nikolas-tgk/HouseOfPay

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

C

House of Pay payroll calculator

Work in Progress

image

Calculates

  1. Daily Sum
  2. Overtime daily sum
  3. Turn-Over daily sum
  4. Overtime and Turn-Over Buffer (35-minute)
  5. Total sums
  6. Days worked

Required

To use this script, you need to fill in your daily pay and overtime hourly rate:

    const int DAY_PAY = 0; // enter day pay
    const int OVERTIME_PAY_RATE = 0; // enter overtime hourly rate

Instructions

  • Input time in HH:MM 24-hour format, e.g. 08:35, 17:00 , 2:10, 21:58.
  • After the first day entry, you will be asked if the next day was a consecutive work day to calculate turn-over (if any). Answer with y/n.
  • Enter any negative value to exit.

About

Calculates daily pay including overtime and turn-over for my HoD colleagues.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages