Q-In an ATM program i want to print the receipt in which there is information of rupees note that come out from an ATM machine when user enters the particular amount.
For e.g. if user enters 2250 then he should get receipt in this format
Note: The ATM should check for particular rupee note whether it is available or not
if in above example 100 rupee note is not found then the program takes 50 rupee note and so on.
PLEASE GIVE ME THE CODE FOR THIS.