lowercase to uppercase

This is too simple mainly to remember the ASCII values ​​of 'a' and 'A'

A->65    a->97

    public char lowercaseToUppercase(char character) {
        // write your code here
        //A->65    a->97
        return (char)(character-32);
    }


Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325982841&siteId=291194637