The use of loop in java is to run a block of code for a certain number of times.
Keeping in mind the role the order of precedence plays in equations, what would Excel display as the result of the following equation?
=(24+75)/(6*3)
=99/18
= 5.5
18)99.0.
90.0
9.0
D. 5.5
Answer:
START LOOP FOR EACH EMPLOYEE:
INPUT employee’s name, hourly rate of pay, number of hours worked, overtime pay rate, payroll deductions, tax rate
SET gross pay = (hourly rate of pay x *weekly hours) + (overtime pay rate x (number of hours worked - *weekly hours))
PRINT gross pay
SET net pay = gross pay - (payroll deductions + (gross pay * tax rate/100 ))
PRINT net pay
END LOOP
* weekly hours (how many hours an employee needs to work to earn overtime pay rate) is not given in the question
Explanation:
Create a loop that iterates for each employee
Inside the loop, ask for name, hourly rate, number of hours worked, overtime pay rate, payroll deductions, tax rate. Calculate the gross pay and print it. Calculate the net pay and print it
Answer:
I think it is because a gross is equal to 144 and that is a hard way to count
Explanation: