Search for question
Question

1. Design a vending machine that accepts only two types of coins: 25 and 50 fills. The machine dispenses one of two things. It dispenses Coca can once a value of 1 AED is entered. and dispenses a Water bottle once a value of 75 fills is entered. The user requests one of these drinks by pressing a button. The machine immediately returns any coins above 1 AED.

Fig: 1