Topic: Queue Problem / Level: beginner

Problem: Write a program to count the occurrences of an element in a queue.

Run the code to see the output here...