Question: Use input and output files. Write a C program that processes an input text file (input.txt). You program should count the number of vowels, consonants,
Use input and output files.
Write a C program that processes an input text file ("input.txt"). You program should count the number of vowels, consonants, digits, white spaces, and other characters. Store your results in an output file called "output.txt". Sample input file: This line has numbers: 1, 2,3, 4, 55 Some lines include punctuations such as , ; . / & ^ Sample output file: Number of vowels: 20 Number of consonents: 32 Number of digists: 6 Number of white spaces: 20 Number of other characters: 11
Your program must include at least one function other than main.
C not C++
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
