learning-cc4e

Solution to https://cc4e.com/. If you copy these you're not right in the head.
git clone https://kaka.farm/~git/learning-cc4e
Log | Files | Refs

solution.c (142B)


      1 int lower(c) /* convert c to lower case; ASCII only */
      2 int c;
      3 {
      4   return((c >= 'A' && c <= 'Z')
      5          ? (c + 'a' - 'A')
      6          : (c));
      7 }