I have to write a program which can generate a condition like as written below:
Example: I got an array = [1,2,3];
Now I have to execute a fu