#include
int main()
{
int yuan,jiao5,jiao1;
int total;
printf("请输入零钱个数(格式:1元个数 5角个数 1角个数):");
scanf("%d %d %d",&yuan ,&jiao5,&jiao1);
total = yuan * 10 + 5 * jiao5 + jiao1;
printf("Dollars = %d元\n",total / 10);
printf("Change = %d分\n",(total % 10)*10);
return 0;
}