Programming in C++..can you also please put a command so I can know what the fucntion of the coding..thank youu so much!
Programming in C++..can you also please put a command so I can know what the fucntion of the coding..thank youu so much!
C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter5: Repetition Statements
Section5.6: Nested Loops
Problem 2E
Related questions
Question
![Do a modification in the Program 3 to display each employee's gross pay who all make
the same hourly wage. The hourly rate for all employees is RM12.85. Here is the output
example.
Enter the hours worked by employee 1: 20
Enter the hours worked by employee 2: 14
Enter the hours worked by employee 3: 40
Enter the hours worked by employee 4: 45
Enter the hours worked by employee 5: 30
Enter the hours worked by employee 6: 30
Enter the hourly pay rate for all the employees: 12.85
Here is the gross pay for each employee:
Employee #1: RM257.00
Employee #2: RM179.90
Employee #3: RM514.00
Employee #4: RM578.25
Employee #5: RM385.50
Employee #6: RM385.50](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F6556a392-58c5-43cb-9b92-7e5ba8552749%2F08735b73-6c32-4125-b3f9-06dc59f984de%2Fjpy6wr_processed.png&w=3840&q=75)
Transcribed Image Text:Do a modification in the Program 3 to display each employee's gross pay who all make
the same hourly wage. The hourly rate for all employees is RM12.85. Here is the output
example.
Enter the hours worked by employee 1: 20
Enter the hours worked by employee 2: 14
Enter the hours worked by employee 3: 40
Enter the hours worked by employee 4: 45
Enter the hours worked by employee 5: 30
Enter the hours worked by employee 6: 30
Enter the hourly pay rate for all the employees: 12.85
Here is the gross pay for each employee:
Employee #1: RM257.00
Employee #2: RM179.90
Employee #3: RM514.00
Employee #4: RM578.25
Employee #5: RM385.50
Employee #6: RM385.50
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 3 steps with 2 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.Recommended textbooks for you
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
![C++ Programming: From Problem Analysis to Program…](https://www.bartleby.com/isbn_cover_images/9781337102087/9781337102087_smallCoverImage.gif)
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
![C++ for Engineers and Scientists](https://www.bartleby.com/isbn_cover_images/9781133187844/9781133187844_smallCoverImage.gif)
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
![C++ Programming: From Problem Analysis to Program…](https://www.bartleby.com/isbn_cover_images/9781337102087/9781337102087_smallCoverImage.gif)
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning