Answer the question
In order to leave comments, you need to log in
What is the algorithm for finding goods on the rack?
There is a rack
with 10 tiers of 8 cells and 15 places in each cell
The user enters the item number and it is necessary to determine on which tier and in which cell the goods are located
Answer the question
In order to leave comments, you need to log in
10 tiers of 8 cells and 15 places in each cell:
do with division i.e. with div and mod
you store in an array/table a list of products and their position on the rack (well, or a matrix of rack positions with product id as values) what's the problem then?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question