Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This is in C not C++ Name this program count.c- This program is a modification of one you did for lab six. The program takes
This is in C not C++
Name this program count.c- This program is a modification of one you did for lab six. The program takes the name of an input file as its single command line argument and prints the number of upper-case letters, lower-case letters, and digits found in each word. No word will ever be longer than 50 characters. A sample 2. execution is shown below The file DATA ./a.out DATA AlAbAmA 4 uppercase, 3 lowercase, 0 digits Est. 1831 1 uppercase, 2 lowercase, 4 digits Est.1831 Crimson TIDE#1 TIDE#1-4 uppercase, 0 lowercase, 1 digits . Your program should confirm the input file exists (exit with an appropriate error message if . You must use a function to count the number of uppercase, lowercase, and digits in a given word. T it does not) he function must use the signature shown below void countC ase (char *, int *, int , int *) This function passes a string and returns the number of uppercase letters, lowercase letters, and digits to the calling routine through the second, third, and fourth parameters Submit your lab First, on your local machine, compress your lab7 directory into a single (compressed) file. Second, once you have a compressed file that contains your lab7 programs, submit that file to BlackboardStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started