Something goind wrong in the frequency function and i don't know how to debug with these many files of the programm to allocate the problem. i've made a seprate test file to just test the frequency function and it works well. So please could you tell me how to debug and what may cause this problem?
here is the results of Check50: https://cs50.me/checks/3a18fe70c7dbbc42ac234e39cb1ea6993e6e501e
Here is the code:
[code hidden]