Question: JAVA Question 3- Manipulating variables of type String (6 pts) Write a program that Displays a welcome message of your choice. Prompts the user for
Question 3- Manipulating variables of type String (6 pts) Write a program that Displays a welcome message of your choice. Prompts the user for two words (can contain upper and lower case letters, digits and special characters excluding whitespace characters) then displays the number of characters as well as the first and last characters of each word. 1. 2. 3. Next, create 2 new words such that the first word starts and ends with the 1 and last characters of the second word and the second word starts and ends with the 1st and last characters of the first word. Display the new words. 4. Displays a closing message. You can assume that the user enters 2 words with at least 2 characters each. Here are a couple of sample output screen. User input is marked by
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
