/*A cashier has currency notes of denominaitons 10, 50 and 100. If the
amount to be with drawn is input through keyboard in hundreds, finf the
total number of currency notes of each denomination the cashier will have
to give to with drawer.*/
#include<iostream.h>
#include<conio.h>
void main()
{
clrscr();
unsigned int input, tend, fiftyd2, fiftyd, hund;
cout<<"Enter amount to be withdrawn\n";cin>>input;
hund=input/100;
fiftyd2=input%100;
fiftyd=fiftyd2/50;
tend=fiftyd2%50;
tend=tend/10;
cout<<"_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-";
cout<<"Here are your "<<hund<<" notes of denomination hundred, "<<fiftyd
<<" notes of denomination fifty \nand "<<tend<<" notes of denmination ten";
getch();
}