The King of Id likes to think that he and his kingdom are most important. To that end he has decided that:
You have been hired by the King to write a program that will help the loyal subjects of Id translate any text to the new standard. (Use Scanner to get a word or sentence)
Sample Test Data
NOTE: the rules #3 and #4 ONLY apply to the first and last two letters. So the word "EDITED" should change to "EDITID", not "IDITID".
Similarly "DIZZZDIZZZDI" must end up as "IDZZZDIZZZDI"
Basic program: Write a program
that will translate one word at a time
Advanced program: Change your program so that it will handle a whole sentence.