Write a method called pay that accepts two parameters: a real number for a TA’s salary, and an integer for the number of hours the TA worked this week. The method should return how much money to pay the TA. For example, the call pay (5.50, 6) should return 33.0. The TA should receive “overtime” pay of 1½ the normal salary for any hours above 8. For example, the call pay (4.00, 11) should return (4.00 * 8) + (6.00 * 3) or 50.0.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.