A programmer wrote an algorithm for a smart refrigerator that buys missing products on its own.
The algorithm is described as follows:
- check what products are unavailable
- make a shopping list
- inform the owner that the purchases are made
However, the programmer forgot one important step in this algorithm. What is it?