i have to get the number 12 with using the numbers 1,2,2,4
Here is one way:
[2 + (2 -1)] x 4 =12
Here is another:
[(4+2) x 2] /1 =12
4 x (2+2-1) =12..............and so on.