Question: java code Accept user input of a name string. Verify that the name string contains a first name and a last name and that both

java code
java code Accept user input of a name string. Verify that the
Accept user input of a name string. Verify that the name string contains a first name and a last name and that both contain valid name characters and are from 2 to 20 characters in length. The name string may optionally contain a middle name or middle initial. The name string may also optionally contain a leading salutation or title (Mr., Mrs., Miss, Dr.). Allowable titles should be pre-defined.
Determine whether a valid name string has been entered. If not, indicate why. If so, identify and display each part of the name. In any case, the program should continue to ask the user for a name string until the user enters "end".
Extra extra credit; allow of a suffix, such as Jr, II, III, ... . Like the salutations, the allowable suffixes should be predefined

Accept out of a ne Vardytut the command contain a more Thermocore Determine whethering has been red one who end Extra extra credit whethemet

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