subject
Engineering, 21.02.2020 03:49 xmengeo

Create a script that calculates an employee's salary. Use the prompt method to retrieve the number of hours and hourly rate from the employee, and display the total salary by multiplying the two values. If the employee has worked more than 40 hours, then he/she should get paid 1.5 times the hourly rate for every hour over 40. For example, if an employee works 45 hours, that employee should receive overtime for five hours. Total Salary should be displayed in an alert box

ansver
Answers: 1

Another question on Engineering

question
Engineering, 04.07.2019 18:20
Prove the equivalence between the two statements of the 2nd law of thermodynamics (i.e., a violation of one statement leads to the violatio the other statement)
Answers: 2
question
Engineering, 04.07.2019 19:10
Air inially occupying a volume of 1 m2 at 100 kpa, 27 c undergoes three internally reversible processes in series. process 1-2 compression to 500 kpa during which pv constant process 2-3 adiabatic expanslon to 100 kpa process 3-1: constant-pressure expansion to 100 kpa (a) calculate the change of entropy for each of the three processes. (b) calculate the heat and work involved in each process. (c) is this cycle a power cycle or refrigeration cycle?
Answers: 3
question
Engineering, 04.07.2019 19:10
Arigid tank contains 10 kg of air at 137 kpa (abs) and 21°c. more air is added to the tank until the pressure and temperature rise to 242 kpa (abs) and 32°c, respectively. determine the amount of air added to the tank. [r-0.287 kj/kg k]
Answers: 3
question
Engineering, 06.07.2019 03:10
Steel balls 12 mm in diameter are annealed by heating to 1150 k and then slowly cooled to 400 k in an air att 325 k and h -20 w/m2 k. assume the properties of the steel to be k- 40 w/m k,p 7800 kg/m3, and cp 600 j/kg k. a. determine whether lumped system method can be used to analyze this problem and if so why" b. determine the time required for the cooling process. c. determine the total amount of heat lost from each ball to the ambient air
Answers: 1
You know the right answer?
Create a script that calculates an employee's salary. Use the prompt method to retrieve the number o...
Questions
question
Mathematics, 21.01.2021 19:00
question
Mathematics, 21.01.2021 19:00
question
Physics, 21.01.2021 19:00
question
Mathematics, 21.01.2021 19:00
question
World Languages, 21.01.2021 19:00
question
Mathematics, 21.01.2021 19:00