so far this wot i have finished for the breakdown...can sumone pls help with the codes
if (a>0)
cout<<"1000 0 "<<a<<endl;
else
cout<<"1000 0 0"<<endl;
b=change-1000;
c=int(b/500);
if (c>0)
cout<<"500 0 "<<c<<endl;
else
cout<<"500 0 0"<<endl;
d=change-1500;
e=int(d/200);
if (e>0)
cout<<"200 0 "<<e<<endl;
else
cout<<"200 0 0"<<endl;
f=change-1700;
g=int(f/100);
if (g>0)
cout<<"100 0 "<<g<<endl;
else
cout<<"100 0 0"<<endl;
h=change-1800;
i=int(h/50);
if (i>0)
cout<<"50 0 "<<i<<endl;
else
cout<<"50 0 0"<<endl;
j=change-1850;
k=int(j/20);
if (k>0)
cout<<"20 0 "<<k<<endl;
else
cout<<"20 0 0"<<endl;
m=change-1870;
n=int(m/10);
if (n>0)
cout<<"10 0 "<<n<<endl;
else
cout<<"10 0 0"<<endl;
o=change-1880;
p=int(o/5);
if (p>0)
cout<<"5 0 "<<p<<endl;
else
cout<<"5 0 0"<<endl;
q=change-1885;
r=int(q/1);
if (r>0)
cout<<"1 0 "<<r<<endl;
else
cout<<"1 0 0"<<endl;