Number of valid arithmetic equations

73 Views Asked by At

Given $?+?-? = 2$

Then the values of ? can be from 1 to 20.

Then from this we can get there can 3 distinct equations can be formed.

But how can we do that for any number of ?.

I am not getting any idea.

Can someone please help me in this.