CSCI 360 Spring 2014

Extra Credit
(10 points)


Overview

For a chance at up to 10 points of extra credit, modify the PRINT routine from program 9 so that the information is displayed in groups based on the brewery location.

For each grouping of beers, the brewery location should only be displayed one time. The groups should be double spaced from one another but the records within a group should be single spaced. For example:

California               Anchor Steam                           25           $15.99
                         Pete's Wicked Ale                      24           $21.41
                         Sierra Nevada Pale Ale                 18           $26.99

Colorado                 New Belgium Fat Tire Amber Ale         12           $23.64
                         Boulder Planet Porter                   1           $22.20
                         Coors Original                         32           $17.99
                         Coors Light                            29           $17.99
                         Boulder Pass Time Pale Ale             17           $17.94
                         Killian's Irish Red Lager              31           $24.59
                         Hazed and Infused Dry Hopped Ale       21           $21.80

Massachusetts            Samuel Adams Boston Lager              33           $21.41

Processing Notes/Requirements:

  1. The extra credit points will only be given if program 9 was completed and handed in on Blackboard

  2. The records in the program 9 data set are already grouped together based on brewery location, so it can be used for this program.