> g++ p2s4.cpp -o p2s4 > ./p2s4 Main Menu: a: add team to list d: delete team f: find team l: list teams q: quit program s: summarize list u: update team info Enter option > a Adding a new node: Enter domain name > udel Enter full school name > Univ. of Delaware Enter mascot > Blue Hens Enter city > Newark Enter state > DE Enter founding year> 1743 Main Menu: a: add team to list d: delete team f: find team l: list teams q: quit program s: summarize list u: update team info Enter option > a Adding a new node: Enter domain name > wvu Enter full school name > West Virginia University Enter mascot > Mountaineers Enter city > Morgantwn Enter state > WV Enter founding year> 1855 Main Menu: a: add team to list d: delete team f: find team l: list teams q: quit program s: summarize list u: update team info Enter option > l Domain Full Name Mascot City St Year ====== ========= ====== ==== == ==== udel Univ. of Delaware Blue Hens Newark DE 1743 wvu West Virginia University Mountaineers Morgantwn WV 1855 Main Menu: a: add team to list d: delete team f: find team l: list teams q: quit program s: summarize list u: update team info Enter option > u Enter domain name to search for > wvu Enter a blank line to keep old value for any item. Current value of domain name > wvu New value > Current value of full name > West Virginia University New value > Current value of mascot > Mountaineers New value > Current value of city > Morgantwn New value > Morgantown Current value of state > WV New value > Current value of foundingYear > 1855 New value > Here are the updated values: wvu West Virginia University Mountaineers Morgantown WV 1855 Main Menu: a: add team to list d: delete team f: find team l: list teams q: quit program s: summarize list u: update team info Enter option > l Domain Full Name Mascot City St Year ====== ========= ====== ==== == ==== udel Univ. of Delaware Blue Hens Newark DE 1743 wvu West Virginia University Mountaineers Morgantown WV 1855 Main Menu: a: add team to list d: delete team f: find team l: list teams q: quit program s: summarize list u: update team info Enter option > a Adding a new node: Enter domain name > wvwc Enter full school name > WV Wesleyan College Enter mascot > Bobcats Enter city > Buckhannon Enter state > WV Enter founding year> 1890 Main Menu: a: add team to list d: delete team f: find team l: list teams q: quit program s: summarize list u: update team info Enter option > d Enter domain name to search for > udel Deleting this element: Domain Full Name Mascot City St Year ====== ========= ====== ==== == ==== udel Univ. of Delaware Blue Hens Newark DE 1743 Main Menu: a: add team to list d: delete team f: find team l: list teams q: quit program s: summarize list u: update team info Enter option > l Domain Full Name Mascot City St Year ====== ========= ====== ==== == ==== wvu West Virginia University Mountaineers Morgantown WV 1855 wvwc WV Wesleyan College Bobcats Buckhannon WV 1890 Main Menu: a: add team to list d: delete team f: find team l: list teams q: quit program s: summarize list u: update team info Enter option > s There are 2 teams in the list. Main Menu: a: add team to list d: delete team f: find team l: list teams q: quit program s: summarize list u: update team info Enter option > a Adding a new node: Enter domain name > nd Enter full school name > Notre Dame Enter mascot > Fighting Irish Enter city > South Bend Enter state > IN Enter founding year> 1842 Main Menu: a: add team to list d: delete team f: find team l: list teams q: quit program s: summarize list u: update team info Enter option > l Domain Full Name Mascot City St Year ====== ========= ====== ==== == ==== wvu West Virginia University Mountaineers Morgantown WV 1855 wvwc WV Wesleyan College Bobcats Buckhannon WV 1890 nd Notre Dame Fighting Irish South Bend IN 1842 Main Menu: a: add team to list d: delete team f: find team l: list teams q: quit program s: summarize list u: update team info Enter option > d Enter domain name to search for > nd Deleting this element: Domain Full Name Mascot City St Year ====== ========= ====== ==== == ==== nd Notre Dame Fighting Irish South Bend IN 1842 Main Menu: a: add team to list d: delete team f: find team l: list teams q: quit program s: summarize list u: update team info Enter option > l Domain Full Name Mascot City St Year ====== ========= ====== ==== == ==== wvu West Virginia University Mountaineers Morgantown WV 1855 wvwc WV Wesleyan College Bobcats Buckhannon WV 1890 Main Menu: a: add team to list d: delete team f: find team l: list teams q: quit program s: summarize list u: update team info Enter option > a Adding a new node: Enter domain name > udel Enter full school name > Univ. of Delaware Enter mascot > Blue Hens Enter city > Newark Enter state > DE Enter founding year> 1742 Main Menu: a: add team to list d: delete team f: find team l: list teams q: quit program s: summarize list u: update team info Enter option > u Enter domain name to search for > udel Enter a blank line to keep old value for any item. Current value of domain name > udel New value > Current value of full name > Univ. of Delaware New value > Current value of mascot > Blue Hens New value > Current value of city > Newark New value > Current value of state > DE New value > Current value of foundingYear > 1742 New value > 1743 Here are the updated values: udel Univ. of Delaware Blue Hens Newark DE 1743 Main Menu: a: add team to list d: delete team f: find team l: list teams q: quit program s: summarize list u: update team info Enter option > l Domain Full Name Mascot City St Year ====== ========= ====== ==== == ==== wvu West Virginia University Mountaineers Morgantown WV 1855 wvwc WV Wesleyan College Bobcats Buckhannon WV 1890 udel Univ. of Delaware Blue Hens Newark DE 1743 Main Menu: a: add team to list d: delete team f: find team l: list teams q: quit program s: summarize list u: update team info Enter option > q Thanks for using this program >