unittype
initializeunit(struct unittype * theunit)
showunit(struct unittype * theunit)
addunit(struct unittype * theunit, const char *toadd, int flip, int quantity)
sortunit(struct unittype * theunit)
cancelunit(struct unittype * theunit)
reduceproduct(struct unittype * theunit, int flip)
reduceunit(struct unittype * theunit)
compareunits(struct unittype * first, struct unittype * second)
completereduce(struct unittype * unit)
showanswer(struct unittype * have, struct unittype * want)
struct unittype have, want;
static int addunit(struct unittype *theunit, const char *toadd, int flip, int quantity);
static void cancelunit(struct unittype * theunit);
static int compareunits(struct unittype * first, struct unittype * second);
static int completereduce(struct unittype * unit);
static void initializeunit(struct unittype * theunit);
static int reduceproduct(struct unittype * theunit, int flip);
static int reduceunit(struct unittype * theunit);
static void showanswer(struct unittype * have, struct unittype * want);
static void showunit(struct unittype * theunit);
static void sortunit(struct unittype * theunit);