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*

6
  • 4
    \$\begingroup\$ Isn't the square root just an optimisation that you don't actually need for the program to be correct? \$\endgroup\$ Commented Sep 11, 2015 at 15:24
  • \$\begingroup\$ Why would you need to divide by two? \$\endgroup\$ Commented Sep 11, 2015 at 15:29
  • 1
    \$\begingroup\$ I always love TI-BASIC answers. \$\endgroup\$ Commented Feb 27, 2018 at 1:05
  • \$\begingroup\$ Why choose Prompt over Input? They're the same number of bytes, and when it's a single variable Input would be more idomatic... \$\endgroup\$ Commented Dec 28, 2019 at 23:17
  • 1
    \$\begingroup\$ @HelloGoodbye Because the UI is better for free, if I recall my reasoning correctly. \$\endgroup\$ Commented Feb 8, 2020 at 1:44