Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

can you do in c++ format and also can you please answer last two questios . here is question How would you go about designing

can you do in c++ format
and also can you please answer last two questios . here is question
How would you go about designing a program to accomplish this? Your design should (i) describe all the functional units and
(ii) explain how 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 easily incorporated?
image text in transcribed
Case study: Developing a payroll program for a small business. Consider a small business that needs a program to process its weekly payroll. Each week, a data file consisting of payroll records with the following format is generated: An example of a payroll record is shown below. Joseph, John axp15 9580413.503 The program has to generate a printout that describes each employee's pay stub. Each pay stub record has the following format: For the above example, the pay stub will be as follows: Joseph, John axp15 26351.0035.10315.90 The business has formulas for how to compute the total number of hours, 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 possible to modify these easily. It should also be possible to make changes to the format of the output. How would you go about designing a program to accomplish this? Your design should (i) deseribe all the functional units and (ii) explain how the functional units will internct to accomplish the required task. Also, how does your design allow for the kinds of changes described above to be easily incorporated

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Professional SQL Server 2012 Internals And Troubleshooting

Authors: Christian Bolton, Justin Langford

1st Edition

1118177657, 9781118177655

More Books

Students also viewed these Databases questions