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

main.c (332B)


      1 #include <stdio.h>
      2 int main() {
      3   double faren();
      4   printf("faren(42) is %.1f\n", faren(42.0));
      5   printf("faren(0) is %.1f\n", faren(0.0));
      6   printf("faren(-10) is %.1f\n", faren(-10.0));
      7   printf("faren(32) is %.1f\n", faren(32.0));
      8   printf("faren(100) is %.1f\n", faren(100.0));
      9   printf("faren(212) is %.1f\n", faren(212.0));
     10 }