Question: Java: dont use arrays or .split() method Write a program that prompts the user to enter a full name consisting of three names ( first
Java: dont use arrays or .split() method
Write a program that prompts the user to enter a full name consisting of three names (first middle last) into one String variable. Then use methods of class String to:
- print the number of characters in the full name, including spaces
- print just the middle name and the number of characters in it.
- print the three initials of the name
- print the last name in all upper case.
- print the full name in the usual alphabetical format (last, first middle) and proper case.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
