#include int main(int argc, char *argv[]) { /* check for proper number of arguments */ if(argc != 3 ) { if(argc == 1) puts("ERROR: No options detected!"); if(argc == 2) puts("ERROR: Too few options!"); if(argc > 3) puts("ERROR: Too many options!"); puts("This program requires you to type"); puts("two options eactly or it will not work."); return(1); } /* Program continues here */ printf("Working on %s and %s...\n",argv[1],argv[2]); return(0); }