1 #include <ctype.h> 2 3 int toupper(int c)4 toupper(int c) 5 { 6 7 if(c < 'a' || c > 'z') 8 return c; 9 return _toupper(c); 10 } 11 12 int tolower(int c)13 tolower(int c) 14 { 15 16 if(c < 'A' || c > 'Z') 17 return c; 18 return _tolower(c); 19 } 20