Question: hello this is a vending machine code. need help. my number/data need to be used are . $10 a. regular coffee 3$ b. regular decaf

 hello this is a vending machine code. need help. my number/data

hello this is a vending machine code. need help. my number/data need to be used are . $10

a. regular coffee 3$

b. regular decaf 2$

c. combo 5$

d. soda 1$

select A. as your choice. you selected regular coffee. your change is 7$

have a nice day message displayed.

You will start by to using the following main, but finish it by defining the missing code w Title: Lab1_2.cpp Description: Authore Date: #include Riostream Windlude Rastdlib> using namespace std3 Declare the two functions here int main declarations double money char option: w formaling dout self (log.. showpoint) Courself (os.fixed), Coul precision (2) HT proipt cout Welcome to the Hartnell Vending Machine "; Coul Insert money. " in >> doney: (money cout Sorry, you fe out of luck." exit(); menu kout Seed your choice in options money pay option, chorey Cool Younge Rc money ke endl; Eco Peave a nice day! Develop functions thenselves here

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!