Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use the program that you wrote for the Programming Corner this week and write it out in Strong Pseudocode (as discussed previously). Remember that strong

Use the program that you wrote for the Programming Corner this week 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 doesnt 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. Like:

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.)?

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

Databases In Networked Information Systems 6th International Workshop Dnis 2010 Aizu Wakamatsu Japan March 2010 Proceedings Lncs 5999

Authors: Shinji Kikuchi ,Shelly Sachdeva ,Subhash Bhalla

2010th Edition

3642120377, 978-3642120374

Students also viewed these Databases questions