The Grocery Game | Excelling Homework

Objective: Gain experience using files, lists and functions.
Program: For your next program, you will be writing a price guessing game. For the game, the player is shown 5 products with their prices hidden. The player can “purchase” any number of the products in any quantity they want, but once an item has been purchased (and its price revealed), it cannot be purchased again. The goal of the game is to have the total price of the purchases to be between $19.00 and $20.00, inclusive. If the total exceeds $20.00, the player loses immediately. The player also loses if they have purchased all the items, and the total is still below $19.00.
Please follow the guideline of this program

Don't use plagiarized sources. Get Your Custom Essay on
The Grocery Game | Excelling Homework
For $10/Page 0nly
Order Essay

Calculate the price of your paper

Total price:$26

Need a better grade?
We've got you covered.

Order your paper