Answered step by step
Verified Expert Solution
Link Copied!

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++image text in transcribed

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 Tests

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Database Relational Model A Retrospective Review And Analysis

Authors: C. J. Date

1st Edition

0201612941, 978-0201612943

More Books

Students also viewed these Databases questions