Question: You should write a program that takes as input a string. Then ask user for a character and print the frequency of that character in
You should write a program that takes as input a string. Then ask user for a character and print the frequency of that character in the string. Your program should iterate until user inputs '1'.
YOU SHOULD use %S not %c
use strings
YOU CANNOT USE GETCHAR OR FGETS
please do not use strlen() function in string.h .
YOU CANNOT USE MALLOC STRUCT OR ALLOC.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
