Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Write a Java program that prompts the user for a line of text and counts and replaces the lower case vowels 'a', 'e', '1','o' and
Write a Java program that prompts the user for a line of text and counts and replaces the lower case vowels 'a', 'e', '1','o' and 'u' by the counter. End by stating how many vowels your replaced. Comments are not required. Here are 2 sample outputs to illustrate the expected behavior of your program. User input is highlighted. Your output does not need to be formatted in exactly the same way. Just make sure the required information appears. Your program must work for any line of text entered by the user, not just the ones in the samples below. Sample 1: Please enter a line to edit computer science Here is your modified input: cimput2r sc34nc5 I just replaced 5 lower case vowels Sample 2: Please enter a line to edit Java programmig is fun Here is your modified input: Jlv2 pr3gr5mmng 7s f8n I just replaced 8 lower case vowels
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