Write a program to count occurrences of a character in a file Character to be input from the keyboard. Result to be displayed on the monitor. Program only works if no more than 9 occurrences are found. LC3 Console Enter a character to search for: i 3 occurrences found. Halting the processor Show transcribed image text Write a program to count occurrences of a character in a file Character to be input from the keyboard. Result to be displayed on the monitor. Program only works if no more than 9 occurrences are found. LC3 Console Enter a character to search for: i 3 occurrences found. Halting the processor
Expert Answer
Answer to Write a program to count occurrences of a character in a file Character to be input from the keyboard. Result to be disp…