Question: Design an algorithm that will create a validation report from a customer sales file. Each field on the sales record is to be validated as

Design an algorithm that will create a validation report from a customer sales file. Each field on the sales record is to be validated as follows:

If a field is found to be in error, print a line on the validation report showing the customer number, name, address (street, town, postcode) and an appropriate message, as indicated in the diagram below. There may be multiple messages for the one record. Print headings and column headings at the top of each page, allowing for 45 detail lines per page.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!