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 (221B)


      1 #include <stdio.h>
      2 main() /* Fahrenheit-Celsius table */
      3 {
      4   int fahr;
      5   printf("FAHR   CELSIUS\n---------------\n");
      6   for (fahr = 0; fahr <= 300; fahr = fahr + 40)
      7     printf("%4d %6.1f\n", fahr, (5.0/9.0)*(fahr-32));
      8 }