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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!