For paperwork and accounting purposes, let’s record the total value of your inventory. It’s nice to know what we’re worth!
Let’s determine how much money you would make if you sold all of your food.
totaland set it to zero.
prices, multiply the number in
pricesby the number in
stock. Print that value into the console and then add it to