Write a program to accept a string.Then convert all vowels to the next alphabet and consonant to previous alphabet and print the new string.All other characters(if present) will remain unchanged
Input:TODAY IS MONDAY
Output:SPCBX JR LPMCBX
Write a program to accept a string.Then convert all vowels to the next alphabet and consonant to previous alphabet and print the new string.All other characters(if present) will remain unchanged
Input:TODAY IS MONDAY
Output:SPCBX JR LPMCBX
This isn't a homework service. Show some effort before you ask for help.
Use Bufferedreader for input. Make an array of the alphabet and +1 the index value and tadaaa