#include #include /* incluso per la funzione isalpha */ char to_lower(char ch) { char res; if ((ch>=65)&&(ch<=90)) res = ch+32; else res = ch; return res; } int main() { char ch; printf("Digitare un carattere alfabetico: "); scanf("%c", &ch); if (isalpha(ch)) printf("Ecco il carattere minuscolo: %c\n", to_lower(ch)); else printf("Hai inserito un carattere non alfabetico\n"); return 0; }