Question: Write a program that prompts the user for their first and last name. You must retrieve the data into a single String variable. Output to
Write a program that prompts the user for their first and last name. You must retrieve the data into a single String variable. Output to the user their initials as uppercase letters. Your output should be formatted as follows: Required output format: Please enter your first and last name: {user response} Your initials are: {initials} Example: Please enter your first and last name: julie anderson Your initials are: J. A.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
