I have quite big problem as I have to count elements in the queue and no procedure or function, which i wrote, does this. I would be grateful if anyone could help me with this. Also I have another problem. The program for working with the queue generates only numbers which have five numerals but it doesn't generate numbers with six seven or eight numerals.
Thank you for your help,