- 2
Write C code to compute the frequency table of survey responses given by 20 users.
The survey responses range from 1 to 5 and are stored in an array. For example, 10 responses are stored in the array [1, 1, 2, 2, 3, 3, 5, 4, 2, 2]. The frequency table will be as shown below: a. 1 = 2 b. 2 = 3 c. 3 = 2 d. 4 = 0 e. 5 = 3
1 Réponse
+ 2
two arrays, one to hold the characters of the numbers. one to hold frequency of numbers found.
please provide an attempt