Question: - How do i write up a Program that after all of the characters have been read it will print the number of: - uppercase

 - How do i write up a Program that after all of the characters have been read it will print the number of: - uppercase alphabetic characters read - lowercase alphabetic characters read - digit characters read - whitespace characters that have been read - whitespace is ' ', , newline -total alphabetic characters read - Use input redirection to send several test data files into your program to verify the counts are accurate.

This is what i have thus far, language in C.

#include

int main( )

{

int ch;

while((ch = getchar( )) != EOF)

{

if (ch != ' ' && ch != '\t' && ch != ' ')

printf("character = %c ", ch);

}

return 0;

}

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 Databases Questions!