#include<stdio.h> void main() { char c; while((c=getchar())!='\n') { if((c>='a'&&c<='z')||(c>='A'&&c<='Z')) { c=c+4; if(c>'Z'&&c<='Z'+4||c>'z') c=c-26; } printf("%c",c); } printf("\n"); } my question is:In the first ten lines of code, why the processing of lowercase letters without written c > 'z' && c < = 'z' + 4, but just write c > 'z'? hope you can help me!thank you
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)