unittype
initializeunit(struct unittype *theunit)
showunit(struct unittype *theunit)
addunit(struct unittype *theunit, char *toadd, int flip)
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;
void initializeunit(struct unittype *);
void showunit(struct unittype *);
int addunit(struct unittype *, char *, int);
void sortunit(struct unittype *);
void cancelunit(struct unittype *);
int reduceproduct(struct unittype *, int);
int reduceunit(struct unittype *);
int compareunits(struct unittype *, struct unittype *);
int completereduce(struct unittype *);
void showanswer(struct unittype *, struct unittype *);