main() { int c; while ((c = getchar()) > 0) { putchar(tolower(c)); } return 0; } int tolower(c) int c; { if(c >= 'A' && c <= 'Z') c = c - ('A' - 'a'); return(c); }