/** * lower - Convert input to lowercase. Based on a program from section * 7.1 of K&R. */ #include #include int main() { int c; // Read characters until you hit the end of the file. while ((c = getchar ()) != EOF) { // Convert to lowercase and output putchar (tolower (c)); } // while return 0; } // main