Write a program to compute the frequency of each lowercase letter in the string
Answers
Answered by
1
We will make a function which computes frequencyof characters in input string and print it in a table (see output image below).
#include <stdio.h>
#include <string.h>
void find_frequency(char [], int []);
int main()
{
char string[100];
int c, count[26] = {0};
printf("Input a string\n");
#include <stdio.h>
#include <string.h>
void find_frequency(char [], int []);
int main()
{
char string[100];
int c, count[26] = {0};
printf("Input a string\n");
Attachments:
Answered by
1
Answer:
hiii how are you dear Mark me as brilliant Please follow
Similar questions