// tolower example // source: http://www.cplusplus.com/ #include #include #include int main() { int i=0; char str[]="Dartmouth Computer Scienece CS50\n"; char c; fprintf(stdout, "%s\n", str); while (str[i]) { c=str[i]; putchar(tolower(c)); i++; } return 0; }