home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / games / volume11 / jotto / part01 / jsumm.c < prev    next >
C/C++ Source or Header  |  1990-12-11  |  281b  |  20 lines

  1. /*
  2.  *    jsumm - list the answers given.
  3.  */
  4.  
  5. #include "jotto.h"
  6.  
  7. extern    char    uguess[MAXGUESS][WORDLEN+1];
  8. extern    int    uguessc, iresp[MAXGUESS];
  9.  
  10. jsumm()
  11. {
  12.     int i;
  13.  
  14.     if (!uguessc) {
  15.         printf(" no guesses yet.\n");
  16.         return;
  17.     }
  18.     for (i=0; i<uguessc; i++) answer(uguess[i], iresp[i]);
  19. }
  20.