maxval.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>

main(){
  char c = 1;
  short s = 1;
  int i = 1;
  long l = 1;
  float f = 2;
  double d = 2;
  double end = 0;
  double dmax = 0;
  int max = 0;
  while(c >= max){
    c = c+c;
  }
  c = c-1;
  max = 0;
  while(s >= max){
    s = s+s;
  }
  s = s-1;
  max = 0;
  while(i >= max){
    i = i+i;
  }
  i = i-1;
  max = 0;
  while(l >= max){
    l = l+l;
  }
  l = l-1;
  max=0;
  
  while(!((d = d+d)==end)){ 
    end = d;
  }  

  end = 0;
  while(!((f = f+f)==end)){ 
    end = f;
  }
  // d = d-1;
  /*
    dmax = 0;
    while(f >= dmax){
    f = f+f;
    }
    f = f-1;
  */
  

  printf("char\tshort\tint\tlong\tfloat\tdouble\n");
  printf("%d\t%d\t%d\t%ld%f\t%lf\n", c, s, i, l,f,d);
  return 0;
}

James Little