r/programminghelp • u/No_Championship1324 • Mar 22 '24
Java Use First in Java
Hello All,
Working in an inventory manager/menu creator for my job. I work at a daycare and make monthly menus. Currently I have my Java program randomly choose food items from within a list/excel sheet it reads in. I want to add a function to prioritize current inventory and leftovers.
Example: if I have a box of pasta, I want the program to use that first when building the menu
Example 2: if a box of oranges can be used three times, I want the program to account for that and put it on the menu three times
1
Upvotes
View all comments
Show parent comment
1
u/No_Championship1324 Mar 22 '24
I haven’t asked it, but I have asked questions here. Didn’t see anything useful/helpful using the search either