subject
World Languages, 26.07.2021 16:40 PastyMexican24

Write a program that prompts the user to enter days and rate per day to compute the monthly salary. The salary computation is 1.5 times the daily rate for days worked above 24 days. E. G. If days=30 and rate=10 then the salary is 330= 24* 10 + 6 * 10 * 1.5. Create a function called computeSalary which takes two parameters (days and rate) and returns the salary. Run the program repeatedly to test various different values of input.

ansver
Answers: 2

Another question on World Languages

question
World Languages, 24.06.2019 07:30
Cheap is too valuable as common is to
Answers: 1
question
World Languages, 25.06.2019 04:10
Rules and regulations for governing ancient people’s lives is called
Answers: 2
question
World Languages, 25.06.2019 07:30
Missense, nonsense, and silent mutations are examples of which type of mutation?
Answers: 1
question
World Languages, 25.06.2019 12:00
Si besarte fuera pecado, caminarĂ­a feliz por el infierno.
Answers: 1
You know the right answer?
Write a program that prompts the user to enter days and rate per day to compute the monthly salary....
Questions
question
Engineering, 17.12.2020 22:00
question
Mathematics, 17.12.2020 22:00
question
Computers and Technology, 17.12.2020 22:00
question
Mathematics, 17.12.2020 22:00