This program should have a “while” loop that asks repeatedly for a number until a number divisible by 6 or 17 is given. When that occurs, the program should display the total number of numbers read that are not divisible by 6 or 17.

```
import java.util.Scanner;
public class DivisibleBy6or17 {

    public static void main(String[] args) {
        Scanner kbd = new Scanner (System.in);
        System.out.print("Enter Value : ");
        int nbr = kbd.nextInt();
        int count = 0;
        while ((nbr % 7 ==0 ) && (nbr % 16 == 0)){

            count++;
            System.out.print("Enter Value: ");
            nbr = kbd.nextInt();
        }

        System.out.println("Numbers read : " + count);

    }

}

```