tempfunc.c
contents ::
  address.c
  atquick_sort.c
  bits.c
  countspace.c
  ctof.c
  hextoint.c
  hist.c
  indexof.c
  itob.c
  linkage.c
  lzw.c
  maxval.c
  merge.c
  merge_sort.c
  peof.c
  pointer.c
  quick2.c
  quick.c
  quick_sort.c
  reverse.c
  rftoc.c
  rmultiblank.c
  rtabs.c
  squeeze.c
  structoo.c
  syscall.c
  tempfunc.c
  tfc.c
  word.c

#include <stdio.h>

float fahrtocels(int fahr);

main(){
  int fahr;
  float celsius;
  int lower, step, upper;
  lower = 0;
  step = 20;
  upper = 300;

  for(fahr=lower; fahr<=upper; fahr = fahr + step){
    printf("%3d %6.1f\n", fahr, fahrtocels(fahr));
    
  }

  return 0;
}

float fahrtocels(int fahr){
  float cels = (5.0/9.0)*(fahr-32);
  return cels;
}

James Little