Question: 1 . 1 2 C + + example: Married - couple names zyDE 1 . 1 2 . 1 : Married - couple names. Pat
C example: Marriedcouple names
zyDE : Marriedcouple names.
Pat Smith and Kelly Jones are engaged. What are possible last name combinations for the married couple listing Pat first
Run the program below to see three possible marriedcouple names.
Extend the program to print the two hyphenated last name options SmithJones, and JonesSmith Run the program agair
Load default template...
cout "What is the second person's first name?" endl;
cin firstName;
cout "What is the second person's last name?" endl;
cin lastName;
cout "Here are some common marriedcouple names:" endl;
cout firstName and firstName lastName endl;
cout firstName and firstName lastName endl;
FIXME: Print two hyphenated last name options, with either last name
I appearing first. A hyphen can be written as
return ;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
