The atm machine gives amount in following denominations 100,500,100 only. Write down pseudocode that will take the amount and write out the number of currency denominations required.
Care must be taken to give least number of denominations and in all 3 denominations. Describe using file and list concepts.