Question: C++ coding please, previous example is incorrect so please dont copy and paste program using the HW 6 Problem B submission link in Moodle. Problem
C++ coding please, previous example is incorrect so please dont copy and paste
program using the HW 6 Problem B submission link in Moodle. Problem C: Pairs of people (5 points extra credit) Ask the user to enter a file name. This file has the format: " :) ". This indicates that and want to be in a group together. Print out all possible pairings that make everyone happy. If there are no such pairings, display this as well. (Note: there should be no possible pairings if the number of people are odd, as one person will be "left out") Example 1 (user input is underlined): What file? pref.txt (Lysandros, Yale) (sanjana, Lorea) Example 2 (user input is underlined): What file? (Lysandros, Sanjana) (Yale, Lorea) (Moyra, Arya) (Ninlil, Kat ja) (Lysandros, Sanjana) (Yale, Lorea) (Moyra, Ninlil) (Arya, Katja) (Lysandros, Sanjana) (Yale, Lorea) (Moyra, Ninlil) (Arya, Katja) (Lysandros, Yale) (Sanjana, Lorea) (Moyra, Arya) (Ninlil, Katja) (Lysandros,Yale) (Sanjana, Lorea) (Moyra, Ninli1) (Arya, Kat ja) (Lysandros, Yale) (Sanjana, Lorea) (Moyra, Ninli1) (Arya, Kat ja) (Lysandros, Ninli1) (Sanjana, Lorea) (Yale, Moyra) (Arya, Katja) (Lysandros, Ninli1) (Sanjana, Lorea) (Yale, Moyra) (Arya, Kat ja) (Lysandros, Ninl11) (Sanjana, Kat ja) (Yale Lorea) (Moyra, Arya) (Lysandros,Katja) (sanjana, Lorea) (Yale, Ninlil) (Moyra, Arya) Example 3 (user input is underlined): What file? No pairs found