#include <stdio.h>
#include <stdlib.h>

int main(int argc, char** argv) {
  int lower, upper, n ;

  printf("Lower integer: \n");
  scanf("%d", &lower);

  printf("Upper integer: \n");
  scanf("%d", &upper);

  printf("\n       n     (n-1)/n\n") ;
  for(n=lower; n<=upper; n++) {
    printf("%8d    %8.5f\n", n, (float)(n-1)/n) ;
  }

  return (EXIT_SUCCESS);
}

