// toupper example // source: http://www.cplusplus.com/ #include #include #include int main() { int i=0; char str[]="Dartmouth Computer Science cs50.\n"; char c; while (str[i]) { c=str[i]; putchar (toupper(c)); i++; } return EXIT_SUCCESS; }