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

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!