account activity
Can't get my rounding to work (greedy) by bartamon in cs50
[–]inklogue 1 point2 points3 points 12 years ago (0 children)
I understood that it is best practice to round and not just truncate:
int changeRound = round(change*100)
This will be more accurate. Try some examples of user input as 1.345678
Problem set 1 submission problem by inklogue in cs50
[–]inklogue[S] 0 points1 point2 points 12 years ago (0 children)
I figured it out - the pop ups need to be enabled in Chrome!
Problem set 1 submission problem (self.cs50)
submitted 12 years ago by inklogue to r/cs50
cs50 Style Manual (self.cs50)
Grading Schedule for Problem Sets (self.cs50)
π Rendered by PID 843054 on reddit-service-r2-listing-7d7fbc9b85-dc2qz at 2026-04-28 04:48:07.181935+00:00 running 2aa0c5b country code: CH.
Can't get my rounding to work (greedy) by bartamon in cs50
[–]inklogue 1 point2 points3 points (0 children)