numofval
static int numofval(const CARD[], int, int);
if ((l = numofval(h, n, i)) > 0) {
if ((l = numofval(h, n, 15 - tv[i])) > 0) {