CodeSolved

A comprehensive source of programming questions and exercises

Calculate employee salaries

Practice Normal 85/ Download 1782 Views

Write a function that receives the number of hours of employee work per month as a parameter and calculates the amount of employee salaries according to the formula below.


Each employee receives 2 USD per hour for 2 hours per month
It will receive 2 USD per hour of overtime
Each employee can receive a maximum of 2 hours a month

12 Answers

This answer is only visible to premium members
This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error'
alert(msg)
This answer is only visible to premium members
This answer is only visible to premium members

This answer is only visible to premium members

Subscription is currently unavailable.
This answer is only visible to premium members
This answer is only visible to premium members
This answer is only visible to premium members
let msg = 'error'
alert(msg)
This answer is only visible to premium members
This answer is only visible to premium members

This answer is only visible to premium members

Subscription is currently unavailable.
<< Previous page 1 2 Next Page >>

Submit answer

Submitting answers is currently unavailable.

Related content

Detection using AI
×
×