Question: java (15 points) Write a program that reads a line of input as a string and prints a. Only the uppercase letters in the string.
java (15 points) Write a program that reads a line of input as a string and prints a. Only the uppercase letters in the string. b. Every second letter of the string. c. The string, with all vowels replaced by an underscore. d. The number of vowels in the string. e. The positions of all vowels in the string. Instructions: 4) The main method should present a menu for selecting the choice a,b,c,d, or e 5) Write one method for each option above 6) Display the output in the method itself 7) Use String methods from Common Loop Algorithms
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
