Untitled
unknown
plain_text
2 years ago
219 B
1
Indexable
String s = "SUMmer"; String s3 = ""; int i = s.indexOf('S'); while s.charAt(i) != ' '{ if (i % 2 == 0){ if (s.charAt(i)-48>=97 && s.charAt(i)-48<=122) s3 +=(char)(s.char(i) +32) else s3+= s.charAt(i) else } i++; }
Editor is loading...