Question: NEED HELP ASAP IN C PROGRAMMING PLS We wish to determine how many times a character appears in file inputFile.txt. Write a program that a)
We wish to determine how many times a character appears in file inputFile.txt. Write a program that a) Prompts the user for a character. b) Searches through the file inputFile.txt and prints out how many times the character is found on each line. Assuming that the file inputFile.txt contains anyone lived in a pretty how town (with up so floating many bells down) spring summer autumn winter he sang his didn't he danced his did. Sample Code Execution 1: Red text indicates information entered by the user Which character would you like to find? w w was found 2 times on Line 1 w was found 2 times on Line 2 w was found 1 time on Line 3 Hint: You can use the newline character ( ) to determine the end of a line
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
