Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started