Java – write a program that gets a phrase from the user. thenuse a for loop to examine each letter of the phrase. print out theposition and character found at that position. count how many timesan ‘A’, ‘E’, ‘I’, ‘O’, or ‘U’ appears in the phrase. your programshould print out the character in the original case entered by theuser but should treat ‘a and ‘A’ the same when counting them.
Expert Answer
An answer will be send to you shortly. . . . .