Question: Write a loop that will output the total number of characters per line (excluding the ' ' character) from an input file named inFile. Assume
Write a loop that will output the total number of characters per line (excluding the ' ' character) from an input file named inFile. Assume that you have the variable inChar of type char used to store the current character, lineCount of type int to keep track of the number of lines, and count of type int to keep track of the number of characters. (pp. 267268)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
