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
icon
Related questions
Question

Programming in C++..can you also please put a command so I can know what the fucntion of the coding..thank youu so much!

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
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
steps

Step by step

Solved in 3 steps with 2 images

Blurred answer
Knowledge Booster
ADT and Class
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.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning