#include char to_lower(char ch) { char res; if ((ch>=65)&&(ch<=90)) //if (ch>='A')&&(ch<='Z') res = ch+32; else res = ch; return res; } int main() { char ch; printf("Digitare un carattere: "); scanf("%c", &ch); printf("Ecco il carattere minuscolo: %c\n", to_lower(ch)); return 0; }