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 >
Wrap
Text File
|
1979-12-31
|
357b
|
22 lines
/*
listing 5 - lookup_print.c
*/
#include <stdio.h>
#include "common.h"
lookup_print (struct record *tran_start)
{
printf ("id = %5d, ", tran_start->id);
printf ("number = %5d, ", tran_start->number);
printf ("price = %5.2f, ", tran_start->price);
printf ("code = %5s\n", tran_start->code);
printf ("\n\n");
}