String newSent = ""; int i = 0; for(i = 0; i < sentence.length(); i++){ if(sentence.charAt(i) >= 'a' && sentence.charAt(i) <= 'z') newSent += Character.toUpperCase(sentence.charAt(i)); else if(sentence.charAt(i) >= 'A' && sentence.charAt(i) <= 'Z') newSent += Character.toLowerCase(sentence.charAt(i)); } return newSent;
- hanabira 0.6.1320- + wakaba + futallaby + futaba -