include[HTML_REMOVED]
using namespace std;
int main()
{
double n;
cin>>n;
int m=n*100;
int a[6]={ 10000,5000,2000,1000,500,200};
int b[6]={100,50,25,10,5,1};
printf(“NOTAS:\n”);
for(int i=0;i<6;i++)
{
printf(“%d nota(s) de R$ %d.00\n”,int(m/a[i]),a[i]/100);
m%=a[i];
}
printf("MOEDAS:\n");
for(int j=0;j<6;j++)
{
printf("%d moeda(s) de R$ %.2lf\n",m/b[j],0.01*b[j]);
m%=b[j];
}
return 0;
}