Combination math problem

Get help using Construct 2

Post » Fri Dec 26, 2014 5:39 am

Hi all,

If I had 4 different global variables named: a, b, c, d with random values set on them.

You can only use each global variable once but use any of the math operators (+ , - , * , /) as many times as you want.

E.g [a + c - b / d] or [b - a - c * d] etc...

How can you use construct 2 to calculate all combinations and possibilities? Using loops? Arrays?
Cant seem to assign math operators like ' + ' ' - ' '/ ' ' * ' into a global variable

Any help is appreciated

Rich
B
6
Posts: 8
Reputation: 266

Return to How do I....?

Who is online

Users browsing this forum: mihirolover, tarek2 and 12 guests