SHARE
TWEET

Untitled

a guest Nov 9th, 2019 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. char[] upperCase(char[]a){
  2.     for(int i = 0; i < a.length; ++i) a[i] = a[i] -32;
  3.     return a;
  4. }
  5.  
  6. char[] a = {"r","o","m","a"};
  7.  
  8. System.out.println(upperCase(a));
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