Name this program count.c-The program takes the name of an input file as its single command line…


Spectry this program compute.c-The program takes the spectry of an input rasp as its unique order verse topic and uses a employment to compute the estimate of preferable-case lore, inferior-case lore, and digits build in each string amid the rasp. The ocean 2. program is shown beneath. You must transcribe the employment computes. This employment is passed a string and income the estimate of preferablecase lore, inferiorcase lore, and digits through the promote, third, and fourth parameters. The rasp DATA Alabama ./a. out DATA Alabama has 1 preferablecase, 6 inferiorcase, and 0 digits has 4 preferablecase, 4 inferiorcase, and 4 digits 1234crimABCD #%$@#$ has 0 preferablecase , 0 inferiorcase, and 0 digits #8$@#$ | #include #include #include invalid computes (char *, int *, int *, int ) int ocean (int arge, char *argvl) ( FILE *fp = fopen (argv [1], char str [100]; fscanf(fp, "%s", str); while feof (fp) "r"); int preferable, inferior, digit; computes (str, preferable, &lower, &digit); printf("%s has %d preferablecase, %d inferiorcase, and %d digitsn", str, preferable, inferior, digit) str); fscanf (fp, "%s", give-back 0;