Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • 1
    \$\begingroup\$ Do you have to round the numbers? \$\endgroup\$ Commented Sep 12, 2015 at 19:35
  • 5
    \$\begingroup\$ @muddyfish I'm not sure I understand. If you follow the instructions in the comic exactly, there's technically no division going on, but the world population should be rounded to the nearest tenth. \$\endgroup\$ Commented Sep 12, 2015 at 19:38
  • 2
    \$\begingroup\$ I'm a little confused by the United States population one. If you're concatenating a 3, shouldn't 2040 give a population of 3100? 40 - 10 = 30, 30 * 3 = 90, 90 + 10 = 100, which would give "3" + "100" = 3100 \$\endgroup\$ Commented Sep 12, 2015 at 20:01
  • 2
    \$\begingroup\$ @Cole Good point, I'll make it so you only have to support years through 2039. About hardcoding the year, I don't want to allow hardcoding because that will almost always be shorter even languages that do support dates. \$\endgroup\$ Commented Sep 12, 2015 at 20:09
  • 8
    \$\begingroup\$ @NinjaBearMonkey I suggest that you change the description of "adding 3, thinking concatenation" to a literal "add 300" to cover all of the edge cases that occur when the previous result isn't a nice 2-digit positive number. (For example, year 2000 gives 280 as a result of -20+300=280 and not 3 . -20= "3-20") \$\endgroup\$ Commented Sep 13, 2015 at 5:15