Menu

[Solved]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 t to separate the data into columns.  

(IF POSSIBLE PLEASE GIVE ANSWER IN TEXT)

Expert Answer


Answer to NEED A C++ SOLUTION Create a simple payroll program that: Use three arrays to hold the following data: employee name (la… . . .

OR


Leave a Reply

Your email address will not be published. Required fields are marked *