Question: Can you help me with this question please?? Write a function countFrequency(char sentence, int letterFrequency) to count how many times each of the 26 letters
Write a function countFrequency(char sentence, int "letterFrequency) to count how many times each of the 26 letters is used in a sentence passed as the first argument to the function and return the number of times each letter is used in the array letterFrequency also passed as an argument. The following main program illustrates how your function will be called. Assume all letters in the sentence are capital letters. The asci equivalent for capital A is 0x41, B is 0x42 and so on. Write the function in C 10 Points. Translate it into assembly 15 points. Int main() char sentencel 1024?HERE IS A SENTENCE DO AS YOU wiSH MORE AND MORE IF YOU LIKE TO STAY IN THIS CLASS" int letterFreq[26]; int i; for "int( i-o ;i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
