Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please write the program in python 3 language and make sure it is working correctly Exercise 1: Write a program that reads in the hourly
please write the program in python 3 language and make sure it is working correctly
Exercise 1: Write a program that reads in the hourly wage of an employee and the number of hours he or she worked in the past week. Your program will compute and display the pay. Any overtime work (over 40 hours per week) is paid at 150 percent of the regular wage. Note: - You need to define the overtime limit (40 hours) and the overtime factor (1.5) as constants. Sample run 1: Enter the hourly wage: 10.0 Enter the number of hours worked: 35 The pay will be 350.00 SAR for 35 hours of work. Sample run 2: Enter the hourly wage: 10.0 Enter the number of hours worked: 50 The pay will be 550.00 SAR for 50 hours of work
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started