Question: Write a program that prompts the user for a string containing the # person's first, middle, and last names - - and displays their #

Write a program that prompts the user for a string containing the
# person's first, middle, and last names -- and displays their
# first, middle, and last initials. For example, if the user
# enters 'John William Lincoln' Output: J.W.L.
# Note: There are no blanks in the names
# Note: If no middle name ( consider the input first then last)

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 Programming Questions!