Use the program that you wrote for the Programming Corner in this module and write it out in Strong Pseudocode (as discussed previously). Remember that strong pseudocode demands that you declare all variables as to what data type they are! Let that inspire you to add additional logic into the program (in the pseudocode version) that can do other data checking, or provide menu options for other processing you think might be useful to a payroll department.

Remember, when using strong pseudocode, pay close attention to how you choose names for your arguments and parameters, and whether you are passing them by reference or by value. Since RAPTOR doesn't let you pass arguments and parameters, do this by just declaring all of the variables in your main program (by initializing them), and then just using their values or assigning them new ones in each successive subroutine.

Now, as the programmer, you have some decisions to make:

What input arguments need to be passed from the outer loop to each of these subroutines?

How will the data that subroutine calculate_paycheck computes, be made available to subroutine print_paycheck?

Which of these subprograms, if any, needs to access the accumulator variables (the running totals of tax paid, etc.)?

Finally, this pseudocode version gives you both the opportunity to internally document the program a bit more clearly and also exercises your skill with the different pseudocode statements.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.