Here is my code for the pset1 greedy. Now it all works from what I can tell and tested and used cs50 check aswell...
Problem is it was hinted in the walk through and me having to look up how to use round properly, that I maybe should of used modular somewhere? I get what it does. eg 10 % 3 = 1. Is it worth doing it again using modular %. Also any advice on my method? Thanks in advance.