Blob


1 /*
2 * 2-10. Rewrite the function lower, which converts upper case letters to lower case, with a condition expression instead of if-else.
3 */
5 int lower(int c)
6 {
7 return (c >= 'A' && c <= 'Z') ? c + 'a' - 'A' : c;
8 }