Answered step by step
Verified Expert Solution
Question
1 Approved Answer
please provide answer in c++ not in java . Will really appreciate . Case study: Developlng a payroll program for a smnll buginen:- Consider a
please provide answer in c++ not in java . Will really appreciate . Case study: Developlng a payroll program for a smnll buginen:- Consider a small buainess that needs a program to process its weekly payroll. Rach week, 4 data file consisting of payroll reoords with the following format in geaerated: 420 character nare> can hourly vages cnumber of deductions> An example of a payroll record is shown below. Joseph, John axp15 95 8 0413.503 The program has to generate a printout that describes each employee's pay stub. Each pay stub record has the following format: > \&8 character Id> canount of withholding? 26.351.0035.10.315.90 The business has formulas for how to compute the total number of hodrs, how to compute the total salary and how to compute the withholding. In addition, the program must also do some data validation. The numbers for the hours worked should all be between 0 and 16; otherwise the output should flag an error. The business would like the program to be such that changes can be easily incorporated. The error handling may need changes and the formulas used may vary from time to time, so it should be ponsible to modify these easily. It should also be posible to make changes to the format of the output. How would you go about deaigning a ptogram to accomplish this? Your design should (i) describe all the functional units and (ii) explain bow the functional units will interact to accomplish the required task. Also, how does your design allow for the kinds of changes described above to be eavily incorpotated
please provide answer in c++ not in java . Will really appreciate .
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started