Question: Home WORK PLEASE! So in Java Github, inside of the main method, you will write a program that does the following: 1 . Prompt the

Home WORK PLEASE!
So in Java Github, inside of the main method, you will write a program that does the following:
1. Prompt the user, in this order, for
- A single alphabetic character type is a char
- Birth year type is an int
- Their full name meaning first middle last type is a String
- NOTE: read from the keyboard as a single String
- There will only be a single middle name
-**Extra Credit:** Allow multiple middle names without using arrays of any type/ifs/methods that return arrays/if/else/looping AKA only using String methods
2. Use the built-in methods in the Scanner, String, and System classes to:
- Print the first letter of the full name
- Print the last letter of the full name
- Print the middle name you must use substring
- Print the hash code of YEAR added to the birth year added to the hashCode of the middle name added to the hashCode of the letter.
-**NOTE:** hashCode = YEAR + birth year + hashcode of the middle name + hashcode of the letter
- Print the results of replacing all the characters in the name that match the alphabetic character (case
not sensitive) with a dollar sign `$`. Example the character is the letter `f`, you would replace all occurrences of the letter `f` or the letter `F` in the name with the `$`.
Example Run
```bash
Please enter a single letter: D
Please enter your birth year: 1990
Please enter your full name: Doug Danger Doner
The first letter of your name is: D
The last letter of your name is: r
Your middle name is: Danger
The hashCode of Danger +2023+ hashCode of 'D'+1990: 2112321868
Replacing all the characters of D in your name becomes $oug $anger $oner
Have a nice day
```

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!