Question 2 (Marks: 50)
The system to be developed for Williams and Son needs to produce the following slip for a
customer once the sale has been concluded.
Please note: For the purpose of this assignment, assume that a customer will only purchase one
unit of each item.
Q.2.1 Write the pseudocode that will produce a slip similar to the one illustrated at
the beginning of the question. Your solution should satisfy the following
requirements:
The solution must illustrate the use of good programming practices;
The solution must make use of a loop;
The loop must make use of a sentinel value.
Q.2.2 The mainline logic of almost every procedural program consists of three parts
namely housekeeping tasks, detail loop tasks and end-of-job tasks. By making
use of flowcharts, show how these parts can be implemented in your solution
for Question 2.1.
Q.2.3 All of your solutions should be structured. Explain why your solution can be
considered a structured solution.
1
Expert's answer
2019-04-04T04:16:23-0400
Dear F, your question requires a lot of work, which neither of our experts is ready to perform for free. We advise you to convert it to a fully qualified order and we will try to help you. Please click the link below to proceed: Submit order
Comments
Leave a comment