count1[i] : j; cout<<"需要用面值"<< value[i] <<"的纸币"<< c <<"张"<<endl; money-= c *value[i]; num+=c;if(money ==0)break;//零钱已经找完,直接退出程序}if(money >0)num = -1;returnnum; }intmain() {intmoney=0;intnum =0; cout<<"请输入要支付的零钱数目:"; cin>>...