subject

JAVA
Write a method that takes in two numbers that represent hours worked and hourly pay. The function should return the total amount paid for the hours entered. For any hours over 40, you should receive overtime pay, which is 1.5 times the regular pay.

Example:

payday(50, 10.00) --> 550.0
payday(20, 5.00) --> 100.0

public static double payDay(int hours, double pay)
{
}

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 24.06.2019 16:50, Ameilasmickle15
How many types of string types does python support?
Answers: 1
image
Computers and Technology, 24.06.2019 18:30, millie54
How does the use of e-mail benefit business communications? it can be sent at any time. it is faster than regular mail. it improves writing skills. it is less expensive than using a courier. it reduces the need for proofreading.
Answers: 1
image
Computers and Technology, 25.06.2019 05:30, pooperjooper
Website hosting servers have their own unique ip address, what does this address consist of? a. numbers and letters b. numbers c. letters d. letters and symbols
Answers: 2
image
Computers and Technology, 25.06.2019 14:00, rniadsharri16
When you see a green traffic arrow signal is turned on, you
Answers: 2
You know the right answer?
JAVA
Write a method that takes in two numbers that represent hours worked and hourly pay. The...

Questions in other subjects:

Konu
History, 13.02.2020 23:31
Konu
History, 13.02.2020 23:31