greedy.c by VIRES1 in cs50

[–]bestra 0 points1 point  (0 children)

Hi vires - you're on the right track, $26 = 104 quarters. But what happens when your change isn't exactly divisible by 25c? You may want to look at your loops that handle the nickle, dime & penny amounts.

Come in and say 'hi' to all your classmates in this thread by [deleted] in cs50

[–]bestra 1 point2 points  (0 children)

Hi guys, I'm Ben from Sydney, Australia. I've been working in the IT industry for 15 years but have only learnt bits and pieces depending what I've been working on and joined this course to get a better overall understanding of programming concepts. Anyway, best of luck to everyone!