For greedy.c in pset1 I used a do...while to validate user input.
But I couldn't see how to loop thru 25, 10, 5, 1 for quarters, dimes, nickels, pennies. I did the exact same calculation 3 times, just with different values, and then another calculation for pennies. When we code the exact same thing multiple times we can use a loop instead, right? But so far in class we've only incremented variables within loops by the same value (i) each time. For a greedy.c loop (i) would have to be 25, then 10, then 5, then 1. Have we learned how to do that yet? Did I miss something? My code passed check50.