Question: 14.14 Lab 5: case Name this program case.c This program repeatedly reads strings from standard input (keyboard). halting when endoffile (ctrl-d) is reached. For each

14.14 Lab 5: case Name this program case.c This program repeatedly reads strings from standard input (keyboard). halting when endoffile (ctrl-d) is reached. For each string, it calls a function, countCase, that takes the string as the first parameter and counts the number of uppercase letters and the number of lower-case letters in the string. The function reports the two counts through the last two parameters. The function signature for countCase is shown below, A heavy penalty will be assessed for not using the countCase function as specied below. void countCase(char strJ int *pNumUpper, int *pNumLower); After calling the function. the main function should print the number of uppercase and lowercase letters in each string Assume that each string has a length of 50 at most. An example is shown below To determine if a character is uppercase or lowercase, you can #include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
