home *** CD-ROM | disk | FTP | other *** search
/ The C Users' Group Library 1994 August / wc-cdrom-cusersgrouplibrary-1994-08.iso / listings / v_10_04 / 1004110a < prev    next >
Text File  |  1992-02-10  |  496b  |  27 lines

  1. Listing 8
  2. ********
  3.  
  4.    int find_maximum(one, two, three)      
  5.    int one, two, three;  
  6.        {
  7.        int ret;
  8.        if (one > two)            
  9.            if (one > three)  
  10.                {
  11.                ret =  one;          
  12.                goto end;
  13.                }
  14.            else
  15.                {
  16.                ret = three;      
  17.                goto end;
  18.                }
  19.            ...
  20. end:
  21.        printf("find_maximum returning %d", ret);
  22.        return ret;
  23.        }   
  24.  
  25. *******   
  26.  
  27.