+ 2
Why is it not working plz reply???
9 odpowiedzi
+ 2
change this line:
s1=s.replace(ch,"*");
to this:
s1+=s.replace(ch,'*');
and remove:
else {}}
you can also add a space after is
System.out.println("Your name is "+s1);
+ 1
tnx bro
0
tnx bro
0
still not working
0
'*' so it's a char look a bit closer at my first answer
0
yes
0
BTW you can change all those ugly OR statements checking if the character is a vowel to something like:
"aeiouAEIOU".contains(String.valueOf(ch))
0
yes
0
tnx bro