Question: Write a critical reflection for this program Vending Machine Features: A menu of drinks and snacks presented via the console. The number and range of

Write a critical reflection for this program Vending Machine Features:

  • A menu of drinks and snacks presented via the console. The number and range of items is up to you.
  • A set of codes that the user can input to select a particular drink or snack.
  • A way of capturing the users inputted code.
  • A way of managing money. The user should be able to input any amount of money and have the correct change returned.
  • A message that tells the user that a particular drink or snack has been dispensed.
  • A message that tells the user how much change they have received.
  • Comments in the code to explain key operations.
  • A method of categorising items in the vending machine to improve the user experience (e.g. Chocolate or Hot Drinks).
  • A way of allowing users to buy additional items if they have enough credit.
  • An intelligence system for suggesting purchases. For example, if you buy a coffee, the vending machine may suggest that you buy biscuits.
  • The use of functions to improve the structure of your program.
  • A stock system meaning the machine may run out of products

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!