Arithmetic Problem Solve

Suppose we have digits 1 2 3 4 5 6 7 8 9 and arithmetic operators +, -, and *.

Write a program that finds a formula that evaluates to 100 by inserting operators between the sequence of digits.

The following is a sample output:

12-3+4+5*6-7+8-9 = 100

Can anyone Solve this?
Double post. And I gave you the hints: http://www.cplusplus.com/forum/general/176499/
Topic archived. No new replies allowed.