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:
:* &nbsp; Show all solutions that sum to &nbsp; <big> '''100''' </big>
:* &nbsp; Show the sum that has the maximum &nbsp; ''number'' &nbsp; of solutions &nbsp; (from zero to infinity<sup>*</sup>)
:* &nbsp; Show the lowest positive sum that &nbsp; ''can't'' &nbsp; be expressed &nbsp; (has no solutions), &nbsp; using the rules for this task
:* &nbsp; Show the ten highest numbers that can be expressed using the rules for this task &nbsp; (extra credit)
<br>
 
An example of a sum that can't be expressed &nbsp; (within the rules of this task) &nbsp; is: &nbsp; '''5074'''
<br>(which, &nbsp; of course, &nbsp; isn't the lowest positive sum that can't be expressed).