ATM Currency Dispenser

Design and implement the ATM cash dispenser. User will request for some amount and you have to return the currency note and its count.
Example1: You have the following notes in ATM
2000-1, 500-5,200-4 and 100 - 4
Input - 1700
Output: 500-3,200-1
1: You have the following notes in ATM
2000-1, 500-1,200-4 and 100 - 0
Input - 600
Output:200-3
Email me when people comment.
Email me when people comment.
Loading...
An error occurred in subscribing you.
Email me when people comment.
Email me when people comment.
Loading...
An error occurred in subscribing you.
CareerCup is the world's biggest and best source for software engineering interview preparation. See all our resources.
CONTACT THE BEST LOTTERY SPELL CASTER FOR THE RIGHT LOTTERY NUMBERS NOW HIS LOTTERY SPELL IS 100% GUARANTEE
- wahl211770 April 14, 2022Winner of $533 million Mega Millions jackpot Richard Wahl, I want to share my wonderful testimony of how a powerful spell caster called Dr Prince helped me to win lottery, i have been playing lottery for a long time now but I had no luck everything changed when I messaged Dr Prince about winning the lottery he assured me that I will be the next winner he told me what to do and I did it and 24 hours later he sent me the lottery numbers and I played it I couldn't believe it I won $533 million dollars it's was the best thing that have ever happened to me in my life. If you want to win a lottery or email him at obinnaspelltemple@yahoo.com