title: List any integer that is divided by five or six
body: <p>The directions are the following:  read in the starting and ending integer number , display all numbers (inclusive) divisible by both 5 and 6 print 10 per line. The tenth number should be the number then a new line. Don't prompt to read in the starting and ending integer number.
  Always output a new line after printing out all the numbers.</p>
  
  <p>When I submit the assignment, it doesn't meet all the requirements. What am I doing wrong? </p>
  
  <pre><code>import java.util.Scanner;
  
    public class Exercise4_10M {
      public static void main(String[] args) {
      Scanner input = new Scanner(System.in);
  
      int count = 1 ;
  
     int k = input.nextInt();
  
       for (int i = 1; i &lt;= k; i++) {
  
         if (i%5==0&amp;&amp;i%6==0)
  
         System.out.print((count++ % 10 != 0) ? i + " ": i + "\n" );
  
      }
      System.out.println("");
  
  }
  
       }
  </code></pre>