See all challenges
250p
Max points
Tech
14d 10h
Time remaining
powered by
Jobful
DESCRIPTION

Write a function that calculates overtime and pay associated with overtime.

  • Working 9 to 5: regular hours
  • After 5pm is overtime

Your function gets an array with 4 values:

  • Start of working day, in decimal format, (24-hour day notation)
  • End of working day. (Same format)
  • Hourly rate
  • Overtime multiplier

Your function should spit out:

$ + earned that day (rounded to the nearest hundredth)

Write the code in https://repl.it/languages/java10; when you’re done click Save, then paste the URL in the answer section from below.

Close
Login
Close
Login as a company
New company? Register here Did you forget the password?
Close
Register as a candidate
Already have an account? .

Alternately you can

or
Close
Register as a company
Already have an account? .
Close
Retrieve password
Close
Register as a recruiter
Already have an account? .
Close
Retrieve password