Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class test2
- {
- public static void main(String[]args)
- {
- String []o ={"one0", "two1","three2","one3","two4","three5","one6", "two7","three8","one9",
- "two10","three11","one12","two13","three14","one15", "two16","three17",};
- boolean [] bitarray;
- //Boolean bitarray;
- int count = 4;//user input
- int count1 = 3;
- int count2 = 2;
- int num = 0;
- boolean flag;
- bitarray = new boolean[24];
- for(int w = 0; w < 4; w++)
- {
- for(int c = 0; c < o.length; c++)
- {
- do
- {
- if(true)
- {
- num++;
- while(count == num)
- {
- System.out.println( o[c] + " from if 1 " + num);
- num = 0;
- flag = false;
- if(count1 < count)
- {
- System.out.println( o[count1] + " ********** " + num);
- }
- }
- }
- // while(count1 != count1);
- // }
- // }
- }while(count != count);
- }
- }
- }
- }
Add Comment
Please, Sign In to add comment