the warehouse of an ecommerce company has limited stock available for each item due to a promotional site. the comapny needs to distribute the stock to its distrubution centre in a particular manner. If the value of the available stock of an item is an even number, then the total stock is divided by 2. If it is an odd number, 1 is subtracted from it. The comapny wishes to know how many distributions can take place before the stock reaches 0. Write an algorithm to calculate the number of distributions that can take place before the stock reaches 0.
Answers
Answered by
0
Answer:1
Explanation:2-1=1
Similar questions
Math,
3 hours ago
Math,
3 hours ago
Science,
3 hours ago
Business Studies,
6 hours ago
Chemistry,
6 hours ago