Mat and Pat want to invite their friends to a party.They ask you to write a program

Question:

Mat and Pat want to invite their friends to a party.They ask you to write a program that does the following:
Allows Mat to enter a list of his friends’ names.The names are stored in a container and then displayed in sorted order.
Allows Pat to enter a list of her friends’ names.The names are stored in a second container and then displayed in sorted order.
Creates a third container that merges the two lists, eliminates duplicates, and displays the contents of this container.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

C++ Primer Plus

ISBN: 9780321776402

6th Edition

Authors: Stephen Prata

Question Posted: