Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

C++ Create a program that displays the weekly gross pay for any number of employees. The user will input the number of hours the employee

C++ Create a program that displays the weekly gross pay for any number of employees. The user will input the number of hours the employee worked and the employees hourly rate. Employees working more than 40 hours receive time and one-half for the hours worked over 40. Enter appropriate comments and any additional instructions required by the compiler. Save, run, and test the program.

image text in transcribed

1. //Introductory18.cpp - displays weekly gross pay amounts 2. //Created/revised by 4_ #include iostream 6. using namespace std; 8. int main() 10.double bourslkd-0.0; double rate 0.0 12. double grossPay=0.0; 13 14. sautfixed > cout " cin >> grossPay 23 25 26 27 grossPay + //end if cout > 29 30 31 32. 33. \ //end of main function /end while

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

Database Application Development And Design

Authors: Michael V. Mannino

1st Edition

0072463678, 978-0072463675

Students also viewed these Databases questions

Question

Experience with SharePoint and/or Microsoft Project desirable

Answered: 1 week ago

Question

Knowledge of process documentation (process flow charting)

Answered: 1 week ago