If buy items is not fixed, that how to write, it's too hard to
CodePudding user response:
Pretty simple, no matter how much to write out to try to write first! Write where did not, we teach you again!
CodePudding user response:
Buy two items I can write it out, if goods variable number don't know what to do
CodePudding user response:
Before buying a loop output and input can jump out a cycle process of the value of the finished goods to choose, and then a loop input payment amount, when the payment is greater than or equal to the total amount of the out of the loop, is greater than the payables is change
CodePudding user response:
Is not particularly difficult, and what place do not understand you can reply to posts