Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- char[] upperCase(char[]a){
- for(int i = 0; i < a.length; ++i) a[i] = a[i] -32;
- return a;
- }
- char[] a = {"r","o","m","a"};
- System.out.println(upperCase(a));
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement