#include< stdio.h >
#include< conio.h >
void main()
{
long int a,n=0,m=0,j=0;
clrscr();
printf("Enter value of case:");
scanf("%ld",&a);
if(a%100==0)
{
while(a>1000)
{
n++;
a=a-1000;
}
while(a>500)
{
m++;
a=a-500;
}
while(a>=100)
{
j++;
a=a-100;
}
printf("\nnote of 1000:%ld",n);
printf("\nnote of 500:%ld",m);
printf("\nnote of 100:%ld",j);
}
else
{
printf("Please enter value in multiplication of 100");
}
getch();
}