home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_10_04
/
1004110c
< prev
next >
Wrap
Text File
|
1992-02-10
|
196b
|
11 lines
void get_low_high(int a, int b, int c, int *low, int *high)
{
*low = (a < b) ? a : b;
if (c < *low) *low = c;
*high = (a > b) ? a : b;
if (c > *high) *high = c;
}