Question: 1) program to(3points): 1. Ask the users for a line of text 2. Then re-display this line, but with all lower case 'a' 'e' and

1) program to(3points):

1. Ask the users for a line of text

2. Then re-display this line, but with all lower case 'a' 'e' and 'i' in the line replaced by a star ('*').

Your program cannot use the methodreplacefrom the String class.

Here is an example of how your program should behave:

Please enter a line of text:

helloAngellaEralli

h*lloAng*ll*Er*ll*

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 Programming Questions!