Cash Register

Enter the bill Amount and the cash amount given by the customer and get to know the minimum number of notes to be returned.

notes No. of notes to be returned
2000
500
100
20
10
5
1