Output all possibilities between the numbers 1-9 such that the result is always 100 | JavaScript

Опубликовано: 23 Март 2026
на канале: Basic Code
931
13

Write a program that outputs all possibilities to put + or - or nothing between the numbers 1, 2, ...,9 (in this order) such that the result is always 100. For example: 1 + 2 + 34 – 5 + 67 – 8 + 9 = 100