r/javahelp • u/GGairifo • Apr 02 '20
Homework I'm losing my mind
I'm having so mutch trouble handle with the input the assignment is : "Design the program" NameShuffler" that: ask to use up to 10 full names up to 120 characters and that each one contains at least two names with less than 4 characters; ending when it has reached the limit or when the user will use the "end" (it is not case sensitive) as a name and there are already 5 valid names. Each invalid name must be discarded, the user being notified of this fact. No final name entry should show a listing of the data entered; after obtaining the first and last name of each name, which contains 4 or more characters; generate as many new names as the ones that were introduced with a first name and a last name, already selected, chosen at random but without repetitions (no more repetitions than there is already by introducing repeated names); and show the new names on the console. To process each name, use a Scanner and String class to use the length () method."
1
1
1
u/[deleted] Apr 02 '20
What have you tried so far?