how to convert into lower case in cpp code example Example: convert characters to lowercase c++ str[i] = tolower(str[i]);