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
Get step-by-step solutions from verified subject matter experts
