24 game/Solve: Difference between revisions
Content added Content deleted
Line 148: | Line 148: | ||
8*7-4*1 |
8*7-4*1 |
||
The answer will be either a suitable J sentence or blank if none can be found. This means that, for example, the sentence 8*7-4*1 is equivalent to the sentence 8*(7-(4*1)). [Many infix languages use operator precedence to make polynomials easier to express without parenthesis, but J has other mechanisms for expressing polynomials and |
The answer will be either a suitable J sentence or blank if none can be found. This means that, for example, the sentence 8*7-4*1 is equivalent to the sentence 8*(7-(4*1)). [Many infix languages use operator precedence to make polynomials easier to express without parenthesis, but J has other mechanisms for expressing polynomials and minimal operator precedence makes the language more regular.] |
||
=={{header|Mathematica}}== |
=={{header|Mathematica}}== |