Question: Write a program in C LANGUAGE that reads the content of the file, text.txt one line at a time, analyses it and prints (for each
Write a program in C LANGUAGE that reads the content of the file, "text.txt" one line at a time, analyses it and prints (for each line) the following information:
1.number of capital letters (A-Z)
2. number of small letters (a-z)
3. number of digits (0-9) - number of any non-white space characters (none of the above)
The program should use a function:
void calculations(char line[], int length) { ... }
The program outputs format should be (the values are random):
LineID capital small digits others
12 8 9 6 5
.....
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
