Skip to content

DennisYudin/ATMmachineApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

ATMmachineApp

We know that we use banknotes in circulation in denominations of 1, 2, 5, 10, 20, 50, 100, 200, 500, 1000

The user enters any amount (which the ATM will have to give him), as well as a comma-separated list of denominations of banknotes that are in the ATM (the amount is not needed).

As a result, the program should give out how many bills of what denomination you need to get the specified amount.

Example of calculations: 5669 sum, denominations are 1, 2, 100; the result will be that 100 - 56, 2 - 34, 1 - 1

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages