I have multiple switch statements 

```
switch(condition1)
{
 case 1:
  doSomething;
  break;

 case 2: 
  doSomething;
  break;

 default
  break;
}

```

--

```
 switch(condition2)
 {
  case 1:
   doSomething;
   break;

 case 2: 
  doSomething;
  break;

 default
  break;
 }

```

The conditions can increase in future eg. condition3, condition4 i.e more switch statements can be there. So i need scalability.

I want to merge these switch statements. 
I dont want to use alot of if,else conditions. 
No return statments in between to break the flow. 
No dynamic memory allocation.
No Multi-dimensional arrays.

eg.

```
result = someOperation(condition1, condition2, condition3...)

switch(result)
{
  case 1:
   doSomething;
   break;

 case 2: 
  doSomething;
  break;

 default
  break;

}

```

Specifically, i want to generate unique combination of multiple ints.
Don't want string comparisons.
I prefer to hide entire functionality in some design pattern ( i was not able to find one, though.)