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…
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.
From the Sonali & Janata Bank Officer (IT) 2020 – Written (DU) exam, question 41 of 50.
More from this paper
- Previous: A transaction consists of a sequence of query and/or update statements. SQL statement must be required to end the transaction. List the…
- Next: Usually, recursion involves a function calling itself until specified condition is met and it is very useful to find out the factorial…
- All questions in Sonali & Janata Bank Officer (IT) 2020 – Written (DU)