Please read the Announcement topic at the top of the sub-forum to learn how to post your code correctly and other useful tips for newcomers.

This is a frequency counter. The last sentence of the...