Question: Write a program in C++ that asks the user for two character arrays: a first name and a last name. Then you will populate two

Write a program in C++ that asks the user for two character arrays: a first name and a last name. Then you will populate two other character arrays: one consisting of [lastname, firstname] and one consisting of [firstname, lastname]. You must use C-strings (i.e. character arrays - not strings). Example: Enter first: Barack Enter last: Obama Last,First: Obama,Barack First,Last: Barack,Obama

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!