Do you want to post your solution so others can see it?
Type: Posts; User: Norm
Do you want to post your solution so others can see it?
No, nothing like that. I don't see any way that code tries to use one of the String class's methods to create a new String with the replaced vowel.
The code I am talking about to replace a char...
To change the value of a variable, there needs to be an assignment statement:
theVariable = theNewValue;
However, The contents of Strings can not be changed.
To create a String with...
How is the code trying to change vowels to #s? I don't see any code that does that.
What is the purpose of printing out the #s?
What was the phrase that was entered?
What was the expected output?
What was the actual output?
Where is the code to change a vowel to a #?
Please edit your post and wrap your code with...