home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_09_10 / 9n10092a < prev    next >
Text File  |  1979-12-31  |  357b  |  22 lines

  1. /*
  2.     listing 5 - lookup_print.c
  3. */
  4.  
  5. #include <stdio.h>
  6. #include "common.h"
  7.  
  8. lookup_print (struct record *tran_start)
  9. {
  10.  
  11.   printf ("id     = %5d, ", tran_start->id);
  12.  
  13.   printf ("number = %5d, ", tran_start->number);
  14.  
  15.   printf ("price  = %5.2f, ", tran_start->price);
  16.  
  17.   printf ("code   = %5s\n", tran_start->code);
  18.  
  19.   printf ("\n\n");
  20.  
  21. }
  22.