Using a for loop, how do I go about making all consonants in a string uppercase?
I think I should do something like this:
String str = \"fish$\"
You can use Character.toUpperCase().
String vowels = "aeiouAEIOU"; char[] charArr = str.toCharArray(); //turn the string into char array for(int i=0; i