/* randata.c YOUR NAME AND THE DATE HERE */ /* INCLUDE "ptrfuncs.h" AND LIBRARIES HERE */ /* USE THIS FUNCTION FOR ALL INPUT ERRORS */ void badOption(char *option) { printf("bad option: %s\n", option); exit(EXIT_FAILURE); } /* main HERE */