Problem
Can you show me an example on how would i decrement an inventory from arraylist( book). Let's say the book item has 400 books in stock. The user enters the amount of books he wants to buy. How would i subtract that amount from the book inventory/stock? Could u just use a for loop/for each loop?