Question: How to use getchar() and redirect to input textfile in ASCI C programming. Hello, underneath is the code I did and it works where it
How to use getchar() and redirect to input textfile in ASCI C programming.
Hello, underneath is the code I did and it works where it counts and prints out upper and lower case of each letter. For instance, "Hello World", there are H=1, e = 1, l = 3..etc. However, my professor is asking to use getchar() and use an input text file to redirect it. How would i do that on my code? Thank you for the help.
#include
}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
