
Students' Guide to
Program
Design
3.5
Programming problems
The following problems require the student to complete these tasks:
■ define the problem by constructing a defining diagram,
■ create a solution algorithm using pseudocode, or a
Nassi-Schneiderman diagram, and
■ desk check the solution algorithm using two valid test cases.
1 A program is required which will read in a tax rate as a
percentage and the prices of five items. The program is to
calculate the total price before tax of the items and then the tax
payable on those items. The tax payable is computed by applying
the tax rate percentage to the total price. Both values are to be ...