subject

Write a method named 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 â½ 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.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 18:00
Which finger presses the h key on the keyboard? index finger on the left hand pinky finger on the right hand index finger on the right hand thumb on the left hand
Answers: 1
question
Computers and Technology, 24.06.2019 07:30
Consider the folloeing website url: what does the "http: //" represent? a. protocal identifier. b. ftp. c. domain name d. resource name
Answers: 2
question
Computers and Technology, 24.06.2019 10:00
When writing a business letter, how many times can you use the same merge field in a document? once once, unless using the address block feature unlimited it will depend on the type of document you choose
Answers: 1
question
Computers and Technology, 24.06.2019 11:00
Which of the statements below describe the guidelines for the use of text in presentation programs? a. do not use numbered lists. b. fonts should be appropriate for your audience. c. limit the number of fonts you use to three or four. d. only use bulleted lists for sales promotions. e. select font sizes that are appropriate for your delivery method. f. use font colors that work well with your background. select all that apply
Answers: 1
You know the right answer?
Write a method named pay that accepts two parameters: a real number for a ta's salary, and an integ...
Questions
question
Mathematics, 20.04.2020 19:04
Questions on the website: 13722361