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
  • \$\begingroup\$ Is a function call valid? example : f[1x+1y=1, 1x-1y=1] \$\endgroup\$ Commented Apr 17, 2011 at 20:58
  • \$\begingroup\$ @belisarius Yes, but the solution should be entire program. \$\endgroup\$ Commented Apr 18, 2011 at 5:59
  • \$\begingroup\$ Is the format always Ax+By=C or can it also be Ax-By=C or even -Ax+By=C? Are negative numbers for A, B or C even allowed? »Print up to two decimal places« implies that less can be printed, your examples do not suggest that. If the output is locale-dependent (which can happen with plenty languages in formatted output), can we assume en-US or C as locale? (I.e. anything that uses a decimal point and not a comma). \$\endgroup\$ Commented Apr 18, 2011 at 10:43
  • \$\begingroup\$ @Joey Yes A,B and C can be negative. Ax-By=C is already given in one of the examples. The points should have 2 decimal places. \$\endgroup\$ Commented Apr 18, 2011 at 11:45
  • \$\begingroup\$ @Joey Edited the question to show that. Thanks for pointing that out. \$\endgroup\$ Commented Apr 18, 2011 at 13:49