averyrogerss560
averyrogerss560
20.06.2021 • 
English

An employee's total weekly pay is calculated by multiplying the hourly wage and number of regular hours plus any overtime pays which in turn is calculated as total overtime hours multiplied by 1.5 times the hourly wage. Write a program that takes as inputs the hourly wage, total regular hours, and total overtime hours and prints an employee's total weekly pay.

Solved
Show answers

Ask an AI advisor a question