Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a program that prompts the user to enter in their name. Retrieve the data as a single string, parse it and determine if the
Write a program that prompts the user to enter in their name. Retrieve the data as a single string, parse it and determine if the name was entered in as First Last or Last First If the name was entered in as Last First print it out as shown. If the name was entered in as First Last modify it to be Last First and print it out.
Insert a comment at the top of the code containing your name, the chapter number, lab number and the date the program was created. These comments must exist in all programs you submit for this class.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started