Question: I really need help with this! Im stuck I dont understand how to code it. We use Java/ JGrasp. PLEASE HELP! Write a Java program

I really need help with this! Im stuck I dont understand how to code it. We use Java/ JGrasp. PLEASE HELP!

Write a Java program to gather the following data about a user.

Name (first and last name must be gathered here into 1 variable).

Age

Gender

Hometown

School

Major

Music

After gathering the data, you will need to separate the first and last name into 2 names and store them into additional variables. Let the user know if their first name is longer than their last, vice versa, or the same length.

Using the gender info you gathered, you will be able to use the proper title. Mx is the proper title for people that identify as non-binary. (Another variable will be needed for this).

Your output needs to have all of these things but does not have to look exactly the same

Things to know if a Scanner variable is created and called info info.next().charAt(0); is the method needed for collecting the user input as a character. After collecting an integer or character, you may need to add a next line or some of the questions may show up on the same line and messing up your data. info.nextLine();

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!