void sort(int num, int type){ int a = 0; int b = 0; while(num-- > 0){ if(3==type){ a=b+1; break; } else if(4==type){ x=y+10; } else if(5==type){ x=y+20; } else { x=y+30; } } }
3
4
5
6