SHARE
TWEET

Untitled

a guest Mar 21st, 2019 52 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.   def cc() {
  2.     for(a <- lwr to upr) {
  3.       if(buffer.charAt(a).isUpper) {
  4.         buffer.setCharAt(a,buffer.charAt(a).toLower)
  5.       } else {
  6.         buffer.setCharAt(a,buffer.charAt(a).toUpper)
  7.       }
  8.     }
  9.   }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top