Question: Write a program that reads a person's first and last names, separated by a space. Then the program outputs last name, comma, first name. End
Write a program that reads a person's first and last names, separated by a space. Then the program outputs last name, comma, first name. End with newline. Example output if the input is: Maya Jones
Jones, Maya
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
