Question
Your challenge is to put together a vending machine knowing what you know about formatted output, input, selection and repetition. Your vending machine will have
Your challenge is to put together a vending machine knowing what you know about formatted output, input, selection and repetition.
Your vending machine will have the following:
a physical form using text / symbolic output to simulate an actual machine
top, bottom and sides represented
two across selections (so, 2 different pops next to one another per row)
descriptions of the selections and prices
the machine will accept change and bills up to $20, nothing larger, and make correct change
looping mechanism so the user can make as many selections as necessary
selection mechanism of your choice
good end user design evidenced by prompting that leads a user to a correct / complete interaction
C++ and English
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started