Anonymous user
Sum to 100: Difference between revisions
m
added whitespace, showed a solution in a bigger font.
m (→{{header|REXX}}: added/changed comments and whitespace, aligned statements.) |
m (added whitespace, showed a solution in a bigger font.) |
||
Line 15:
Example:
<big> <big> <b> <big> 123 + 4 - 5 + 67 - 89 = 100 </big> </b> </big> </big>
Show all output here.
Line 22:
:* Show all solutions that sum to <big> '''100''' </big>
:* Show the sum that has the maximum ''number'' of solutions (from zero to infinity<sup>*</sup>)
:* Show the lowest positive sum that ''can't'' be expressed (has no solutions), using the rules for this task
:* Show the ten highest numbers that can be expressed using the rules for this task (extra credit)
<br>
An example of a sum that can't be expressed (within the rules of this task) is: '''5074'''
<br>(which, of course, isn't the lowest positive sum that can't be expressed).
|