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