Answers for "a c++ program to determine whether a character is in uppercase or lowercasse"

C++
5

string c++ if letter is lowercase

for(int i=0;i<str.size();i++){
int c = str[i]; 
        if (islower(c))  
            str[i] = toupper(c);
}
Posted by: Guest on April-25-2020

Code answers related to "a c++ program to determine whether a character is in uppercase or lowercasse"

Browse Popular Code Answers by Language