How to divide a number into multiple parts so that the resulting sum is equal to the input?
for ex :
input from textbox :
first input is(txt_val1) :5
second input is(txt_val2) :3
output :
3+2=5
2+3=5
4+1=5
1+4=5
or any other combinations like these.
both input are dynamic always.