Answered step by step
Verified Expert Solution
Question
1 Approved Answer
pls don't use using namespace std; as well is for c++ 4.1 - If/Else Statements / 11. Overtime pay saved 15 points possible Reset to
pls don't use using namespace std; as well is for c++
4.1 - If/Else Statements / 11. Overtime pay saved 15 points possible Reset to Starter Code Write a program that asks an employee how many hours were worked this week. The base pay rate is $15.00/hr. For overtime hours (over 32), the employee should be paid 1.5 times the base rate (or 0.5 times base rate as a bonus...however you want to see it). Output 1 [assume 18er types: 42] Enter the hours worked for the week as a whole number: You worked 10 overtime hours your total pay this week is $790.00 Output 2 Enter the hours worked for the week as a whole number: (assume user typea: 30] Your Lolad pay wie week is $450.00 Hints and Notes 1) There are many ways to do the math here. Use whatever method you are comfortable with, as I assume you've calculated this for your own job before. 2] Do NOT use an ELSE for this question. If only. Full Screen Grading 3 Run TestsStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored 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