You need to add new functions, but before you can add any, you need to convert your current one-chart RAPTOR flow, and your one-module pseudocode program, over into something that uses modules as logically separate subroutines or subprograms.
The plan for this module asks you to make improvements to your program from the previous module. You will be required to redesign and restructure your program so it is clearer, easier for the programmer to understand, and easier to maintain. Be sure to update the comments in your RAPTOR program to show where you've modified it and what youve done to it.
Let's take that Payroll program we put together for Module 2, and make some improvements to it. Some of those improvements are to redesign and restructure it so that it is clearer, easier for the programmer to understand, and easier to maintain. When that is done, we can then add functionality to it, giving the users (our customers!) more powerful payroll processing tools.
We'll do this all in RAPTOR (later you will convert that RAPTOR to strong pseudocode as a separate assignment).
Tasks for this week:
So, your resulting program should look something like:
RAPTOR does not provide arguments or parameters. In reality, the only way you can do this "passing" is to pick variable names wisely, and write the subroutines (subcharts, as RAPTOR calls them) to use the right names the right ways.
As you work on this assignment, think about what other sorts of functions or tasks a payroll department user might want to have this program help them perform. Does it become easier to add those functions now that you're using subroutines?