Language Programming

Paper details:

Display the available options in the vending machine along with the price (minimum of 5items). A customer selects an item code for purchase and the system
should prompt to insert any bill. Reject the transaction if the bill amount is lower than the selected item’s price. Assume that the machine dispenses the
change in coins of denominations 1cent. 5cents. 1ocents. 25cents & 1dollar. Calculate the change for minimum number of coins and dispense. Display the
change amount and the number of coins dispensed by denomination.