A pet store owner needs a weekly sales report. The output consists of a printed report titled PET SALES, with column headings TYPE OF ANIMAL and PRICE. Fields printed on output are: type of animal and price. After all records print, a footer line END OF REPORT prints. The input file description is shown below.
Filename:PETS
|
FIELDDESCRIPTION
|
DATATYPE
|
COMMENTS
|
Type of Animal
|
Character
|
20characters
|
Price of Animal
|
Numeric
|
2decimalplaces
|
a. Design the output for this program; create either sample output or a print chart.
b. Draw the hierarchy chart for this program.
c. Draw the flowchart for this program.
d. Write the pseudocode for this program.