Need C Solution Create Simple Payroll Program Use Three Arrays Hold Following Data Employe Q37048137

NEED A C++ SOLUTION

Create a simple payroll program that:

  1. Use three arrays to hold the following data:employee name (last name only), hourly wage (in pennies, so make itan int rather than a double), andhours worked (rounded to the nearest hour, so again make it anint.)
  2. Has the user enter those fields for three employees. (Hint: Usea const int to hold the number of employees)
  3. Display the values for all employees
  4. calculate the total pay (hourlyWage * hoursWorked) and displayit along side the values entered by the user.
  5. Go back and format the output like a table:
    1. Add a heading row before you start printing the actualdata
    2. Use
      OR
      OR

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.