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
We've got everything to become your favourite writing service
Money back guarantee
Your money is safe. Even if we fail to satisfy your expectations, you can always request a refund and get your money back.
We don’t share your private information with anyone. What happens on our website stays on our website.
Our service is legit
We provide you with a sample paper on the topic you need, and this kind of academic assistance is perfectly legitimate.
Get a plagiarism-free paper
We check every paper with our plagiarism-detection software, so you get a unique paper written for your particular purposes.
We can help with urgent tasks
Need a paper tomorrow? We can write it even while you’re sleeping. Place an order now and get your paper in 8 hours.
Pay a fair price
Our prices depend on urgency. If you want a cheap essay, place your order in advance. Our prices start from $11 per page.