Question: Write a java program called printMyName that asks the user to enter First Name, and Last Name. The program will display the followings. Your first
- Write a java program called printMyName that asks the user to enter First Name, and Last Name. The program will display the followings.
Your first and Last Name is: John Doe.
You first name is: John
You last name is: Doe
Note The output is displayed, if the user types John and Doe for first and last name.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
