public class BreakAndContinueExample {
      
    public static void main(String[] args) {
        int number = 3;
        while (number < 100) {
            if (number / 10 == 4) {
                break;
            }
            
            number *= 2;
            
            if (number % 10 == 6) {
                continue;
            }
            
            System.out.println(number);           
        }
        System.out.println("number is " + number); 
    }
      
}