Hello! Tell me how to create an algorithm for the task or a flowchart?
The task:
In the city of N there is a large warehouse on which there are 50,000 different shelves. For the convenience of the workers, the warehouse management decided to order a plate from 00001 to 50,000 for each shelf at the local printing house, but when the plates were printed, it turned out that the printing press did not print the number 2 due to a malfunction, so all the plates with one or more numbers in them Two (for example, 00002 or 20202) - must be reprinted. Write a program that calculates how many such erroneous plates were in the defective batch.