C project Find the math symbols so that the equation is valid
we have the 8 ? 7 ? 6 ? 5 ? 4 ? 3 ? 2 ? 1 = 36 and it asks to replace the ? with a math symol(*,+,-,/) so the equation is valid! We have to create multiple solutions for the equation.As an example we have that
8 + 7 + 6 + 5 + 4 + 3 + 2 + 1 = 36
or with numbers that we connect them like that
87 - 65 - 4 - 3 + 21 = 36
How do we even start? :confused::confused:
I guess it can be with strings or arrays i dont know sth like that
Thank you very much