Question: Create a Vending Machine Program with C++ based on the given flowchart Incase the picture above is unclear, here's a divided image of it. The
Create a Vending Machine Program with C++ based on the given flowchart

Incase the picture above is unclear, here's a divided image of it.



The list of items will be
| Beverages | Price |
|---|---|
| Soda | RM 0.80 |
| Energy Drink | RM 1.25 |
| Cola | RM 0.80 |
| Coffee | RM 1.00 |
| Mineral Water | RM 0.50 |
Use the things mentioned below if possible
- Loops and user input
- Functions (void and value-returned)
- Function overloading
- Strings
- 1D and 2D arrays
- Pointers
- Files and/or data structure.
.
Please make the coding NEAT AND TIDY.
Don't forget to ADD COMMENTS.
.
PLEASE DO NOT GOOGLE AND EDIT OTHER CODE UNLESS IT HAS ALL THE FEATURES MENTIONED ABOVE.
AND PLEASE ANSWER ACCORDING TO THE QUESTION AND DON'T PASTE OTHER ANSWER THAT HAS BEEN ANSWERED IN CHEGG.
GOOGLING AND/OR PASTING THE WRONG ANSWER WILL GET DOWNVOTED.
START Calculate(select, num) Display amount) initialize Product initialize change print Your change is" 5 return change insert Money while Money 5 insert Money while Money =1 && select
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
