Write a program that simulates a soft drink machine using an array of structures that store:
Write a program that simulates a soft drink machine using an array of structures that store:
Write a program that simulates a soft drink machine using an array of structures that store:
Drink Name
Drink Cost
Number of drinks in machine
The program will create an array of five (5) structures. Initialize the elements with the data on page 662, and comply with the requirements of the challenge. Also, output the current inventory of the soda
I HAVE ATTACHED BELOW THE PAGE,662 WHICH YOU WILL NEED.
PLEASE ALSO PROVIDE THE OUTPUT SCREENCAPTURES AFTER YOU WRITE THE PROGRAM
PLEASE SEND THE PROGRAM AS TEXT FILES!!!!!
-
StartingOutwithCfromControlStructurestoObjects9_e-GoogleChrome2_12_202112_37_28AM2.png