Looking for trustworthy answers? Westonci.ca is the ultimate Q&A platform where experts share their knowledge on various topics. Get detailed and accurate answers to your questions from a dedicated community of experts on our Q&A platform. Experience the convenience of finding accurate answers to your questions from knowledgeable experts on our platform.

Write a program that keeps track of a simple inventory for a store. While there are still items left in the inventory, ask the user how many items they would like to buy. Then print out how many are left in inventory after the purchase. You should use a while loop for this problem.
We have 20 items in inventory. How many would you like to buy? 4 Now we have 16 left. We have 16 items in inventory. How many would you 11 like to buy? 2 Now we have 14 left. We have 14 items in inventory. How many would you like to buy? 8 Now we have 6 left. We have 6 items in inventory. How many would you like to buy? 5 Now we have 1 left. We have 1 items in inventory. How many would you like to buy? 1 A]l out!

Write A Program That Keeps Track Of A Simple Inventory For A Store While There Are Still Items Left In The Inventory Ask The User How Many Items They Would Like class=