Home » questions » how to create a c program were in your computer is a vending machine?

how to create a c program were in your computer is a vending machine?

2006-08-14 02:23:58, Category: Programming & Design
the only amount that the computer accept is 1, 5, 10, 15, 20 pesos. The following choices are pepsi, mirinda, coke, royal, and rootbeer that cost 15. The other drinks cost 16, 17, 18 pesos.

Answers

  1. kryptonboy22

    On 2006-08-14 02:56:45


    you just need if statement....