Looking for answers? Westonci.ca is your go-to Q&A platform, offering quick, trustworthy responses from a community of experts. Connect with a community of experts ready to help you find solutions to your questions quickly and accurately. Our platform offers a seamless experience for finding reliable answers from a network of knowledgeable professionals.

1. Following is the specifications for simulating an automatic stamp vending machine (a) It should dispense 25, 15 and 10 rupees worth stamps (b) It should accept 50, 25, 10 and 5 rupees' coins. (c) It can accept not more than one coin for each transaction. (d) If more than one coin of the same denomination is to be returned as change after dispensing the stamp, the machine cannot do it. Instead the coin should be returned and a 'no change' signal turned on. (e) The machine should dispense the stamp and the right change and must indicate exceptional. cases such as 'insufficient amount tendered', 'no stamp available', 'no change available', etc. Write a program to simulate the machine. The input to the program would be: Amount tendered and the stamp requested (only one stamp). The output of the program should be whether stamp is dispensed or not, the value of the stamp dispensed, the denomination of the coins returned (if any), and no change signal if no change is returned and no stamp if the stamp is not available. The program should execute for a set of data until the user wants to quit. After each transaction the available quantity (i.e. how many) of stamps and coins should be displayed. writev c programme ​