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

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 : . isupper(ch) checks if 'A'

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!