Question: I need this code in C++ CHALLENGE ACTIVITY 2.16.2: Reading and outputting strings. Write a program that reads a person's first and last names separated

I need this code in C++
CHALLENGE ACTIVITY 2.16.2: Reading and outputting strings. Write a program that reads a person's first and last names separated by a space, assuming the first and last names are both single words. Then the program outputs last name, first name. End with newline. Example output if the input is: Maya Jones Jones, Maya Code writing challenge activity demo 459830.3158866.93zqy7
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
