Answer to Question #36890 in C++ for cikin
The machine holds six items numbered 1 through 6, with prices $1.25, $.75, $.90, $.75, $1.50, and $.75, respectively. The input to your program is an integer and a floating-point number representing an item number and a sum of money. If the money is enough to buy the item, your program should print: Thank you for buying item X. Your change is Y. If the money inserted is insufficient, then your program should say so. The following display give...
No comments. Be first!