[Tutor] Vending machine program

bob gailer bgailer at gmail.com
Sun Jan 6 01:21:32 CET 2013


On 1/4/2013 8:26 PM, Alan Gauld wrote:
> On 04/01/13 17:47, bob gailer wrote:
>
>> > Further selections can be made if there is enough credit.
>>
>> This is confusing. You could drop that line with no ill effect. I am not
>> sure what it even means.
>
> It seemed straightforward enough to me Bob.
> If you put in $10 and buy a candy bar for $6 you have $4 credit left.
> You can then choose another item provided it costs less than $4.
>
> It just implies another level of loop in the design.
OK I get it.
>
> In fact given the detail of the spec its hard to see what we could add 
> by way of help until the OP produces some code to critique.
>


-- 
Bob Gailer
919-636-4239
Chapel Hill NC



More information about the Tutor mailing list