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*

4
  • \$\begingroup\$ + 1 for shameless copying! \$\endgroup\$ Commented Oct 25, 2011 at 21:23
  • \$\begingroup\$ The last version should be used carefully for huge values of readInt, like 50. ;) \$\endgroup\$ Commented May 31, 2012 at 22:16
  • \$\begingroup\$ @userunknown presumably that's why the question specifies an upper limit of 25... \$\endgroup\$ Commented May 31, 2012 at 22:25
  • \$\begingroup\$ It wasn't meant as critique, just as a warning for the curious. \$\endgroup\$ Commented May 31, 2012 at 22:41