You need to write a program for a wedding planner. They wish to create a gift
registry for each couple. They want the gifts broken down by the whether the
gift giver is on the bride side or groom side. They also know that common gifts
(toasters, silverware, and stemware) tend to be repeated so they want those
gifts listed and have the name of the gift giver under them. The following is an
example of the output they wish. The following output was created using
the following input: Tom, Groom side, Toaster; Bill, Groom side,
silverware; Bob, Groom side, stemware; Steve, Groom side, Lexus; Jill, Bride
side, toaster; Suzy, Bride side, silverware; Pat, Bride side, stemware; Karen,
Bride side, horse.
Groom side:
1. Tom: toaster
2. Bill: silverware
3. Bob: stemware
4. Steve: Lexus
Bride side:
1. Jill: toaster
2. Suzy: silverware
3. Pat: stemware
4. Karen: horse
Multiple toasters by:
Tom
Jill
Multiple silverware by:
Bill
Suzy
Multiple stemware by:
Bob
Pat