Starting from:

$30

Lab 04 Solution

Do the following exercise from the book. Follow the instructions for all assignments (one link up) and any specific additional instructions for each problem.

Ch. 8, Programming Problems 2, pg. 264

Name the program giftlist.cpp. Make sure the following requirements are met.

Program must compile and run.
All inputs are strings (may have spaces).
Only do the nice list, not the naughty list.
User will enter names until empty string denoting no more names.
Each name will be followed by one or more gifts.
After names entered display contents of the name list and each gift list.
A single string list is not an adequate data structure. Nor are parallel arrays, instead create an object oriented design.
Remember to upload all files before submitting.

giftlist.cpp

More products