Question: In python please!! Vending Machine Topics: Input, Output, Operations, Decision, Repetition, Problem Description: A vending machine is an automated machine that provides items such as

In python please!!

In python please!! Vending Machine Topics: Input, Output, Operations, Decision, Repetition, ProblemDescription: A vending machine is an automated machine that provides items suchas snacks, beverages, and lottery tickets to consumers after cash, a credit

Vending Machine Topics: Input, Output, Operations, Decision, Repetition, Problem Description: A vending machine is an automated machine that provides items such as snacks, beverages, and lottery tickets to consumers after cash, a credit card, or other forms of payment are inserted into the machine. Currency deposit: - The vending machine accepts 4 types of coins, 1 dollar bills, and 5 dollar bills, total 6 options. - The user enters the money - simulate the action through a loop that ends when the user enters 0 . Each coin, or paper bill will be read individually. - The user can stop deposit at any time by entering 0. Purchase item selection: - The vending machine offers 5 products. The selections available for user are numbers from 1 to 5 . The user makes the selection, and the machine allows a maximum 4 other selections if the amount entered doesn't cover the price of the item. Use item data listed below. Skittlestype1Reesestype2M&Mtype3ChexMixtype4(Price=$1.00)(Price=$1.19)(Price=$1.50)(Price=$0.99) Programming Requirements: You are to write a program that simulates the functionality of a vending machine having the above characteristics. Use appropriate selection and repetition loops in your implementation. Sample run: Welcome to Vending Machine Bravo! If you would like to make a selection, please insert the appropriate currency into the machine. Please enter: 1.00 for $1 bills 5.00 for $5 bills . 01 for pennies .05 for nickels .10 for dimes .25 for quarters 0 to cancel Submission Requirements: 1. Source code: Python file named as VendingYourlastname.py 2. Project report: Include pseudocode, at least 5 screenshots of test runs in one PDF file and name it VendingYourlastname.pdf

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!