Create a Java program that asks the user to enter three (3) first names then display the following: 1. All the possible two-name combinations (Ask the user to select a name by entering 1 to 6.) 2. The...


Create a Java program that asks the user to enter three (3)<br>first names then display the following:<br>1. All the possible two-name combinations (Ask the<br>user to select a name by entering 1 to 6.)<br>2. The initials of the chosen combined name (Ex. John<br>Ryan JR)<br>%23<br>3. Suggested username based on the combined name<br>(The name will be in small letters and the space will<br>be changed to underscore. Ex. John Ryan =<br>john_ryan)<br>Sample cutput<br>Enter three first names:<br>Mark<br>Ryan<br>John<br>Possible names are:<br>1-Mark Ryan<br>2-Mark John<br>3-Ryan Mark<br>4-Ryan John<br>5-John Mark<br>6-John Ryan<br>Enter 1-6 to select a name: 6<br>The initials for John Ryan is JR.<br>Suggested username: john.ryan<br>

Extracted text: Create a Java program that asks the user to enter three (3) first names then display the following: 1. All the possible two-name combinations (Ask the user to select a name by entering 1 to 6.) 2. The initials of the chosen combined name (Ex. John Ryan JR) %23 3. Suggested username based on the combined name (The name will be in small letters and the space will be changed to underscore. Ex. John Ryan = john_ryan) Sample cutput Enter three first names: Mark Ryan John Possible names are: 1-Mark Ryan 2-Mark John 3-Ryan Mark 4-Ryan John 5-John Mark 6-John Ryan Enter 1-6 to select a name: 6 The initials for John Ryan is JR. Suggested username: john.ryan

Jun 03, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions ยป

Submit New Assignment

Copy and Paste Your Assignment Here